home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / TextJump.java < prev    next >
Text File  |  1997-11-01  |  828b  |  30 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. // Implementatation of TextJump class
  3. //
  4. // Class to store text and URL data in a single class
  5. //
  6. // This is a part of the Internet Information Server SDK Samples
  7. // Copyright (C) 1997 Microsoft Corporation
  8. // All rights reserved.
  9. //
  10. // This source code is only intended as a supplement to the Software 
  11. // Development Kit Reference and related electronic documentation provided.
  12. //
  13. ////////////////////////////////////////////////////////////////////////////
  14.  
  15. class TextJump 
  16. {
  17.     private String    m_strURL;
  18.     private String    m_strText;
  19.  
  20.     TextJump(String strURL,String strText)
  21.     {
  22.         m_strURL = strURL;
  23.         m_strText = strText;
  24.     }
  25.  
  26.     public String getString()    { return m_strText; }
  27.     public String getURL()        { return m_strURL; }
  28. }
  29.  
  30.