View Javadoc

1   package net.sf.jpkgmk;
2   
3   import java.io.IOException;
4   import java.io.Writer;
5   
6   /**
7    * @author gommma (gommma AT users.sourceforge.net)
8    * @author Last changed by: $Author: gommma $
9    * @version $Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
10   * @since 1.0
11   */
12  public interface LineProvider 
13  {
14  	/**
15  	 * Writes this entry line to the given writer
16  	 * @param writer
17  	 * @throws IOException
18  	 */
19  	public void write(Writer writer) throws IOException;
20  	
21  	/**
22  	 * @return The prototype line
23  	 */
24  	public String getLine();
25  
26  }