home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / un2maiq4 / pjjava / src / pj / awt / storyformatter.java < prev    next >
Encoding:
Java Source  |  1996-08-14  |  1.6 KB  |  57 lines

  1. /*---------------------------------------------------------------------------
  2.  
  3.     Written by the Personal Journal developers of Dow Jones & Company, Inc.
  4.  
  5.     Dow Jones makes no representations or warranties about 
  6.     the suitability of this software, either express or 
  7.     implied, including but not limited to the implied warranties 
  8.     of merchantability, fitness for a particular purpose, 
  9.     or non-infringement.  Dow Jones will not be liable for 
  10.     any damages suffered by a user as a result of using, 
  11.     modifying or distributing this software or its derivatives.
  12.  
  13.  
  14.     StoryFormatter.java  0.00 05-Feb-96
  15.  
  16.         An interface for objects that format PaperStories into Strings.
  17.  
  18.     Authors:
  19.  
  20.         rphall   Rick Hall
  21.  
  22.     Version Ident:
  23.  
  24.         $Header: /PjJavaClient/src/pj/awt/StoryFormatter.java 2     2/05/96 6:50p Rphall $
  25.  
  26.     History:
  27.  
  28.         0.00 05-Feb-96  rphall   Initial Creation
  29.  
  30. ---------------------------------------------------------------------------*/
  31.  
  32. package pj.awt;
  33.  
  34. import pj.io.PaperStory;
  35.  
  36. /**
  37.  * An interface for objects that format PaperStories into Strings.
  38.  * StoryFormatters are typically used by Columns.
  39.  *
  40.  * @see        pj.io.PaperStory
  41.  * @see        pj.awt.Column
  42.  * @version    0.00 05-Feb-96
  43.  * @author     rphall
  44. */
  45. public interface StoryFormatter
  46.     {
  47.  
  48.     // --- Public operations
  49.  
  50.     /**
  51.      * @param story The PaperStory to format.
  52.      * @return A String representation of the story.
  53.     */
  54.     public String formatToString(PaperStory story);
  55.  
  56.     }; // StoryFormatter
  57.