org.jaffa.util
Class StringHelper.Line

java.lang.Object
  extended byorg.jaffa.util.StringHelper.Line
Enclosing class:
StringHelper

public static class StringHelper.Line
extends Object

This class contains the contents of a line and the EOL character. The EOL character can be '\n', '\r' or '\r\n'.


Constructor Summary
StringHelper.Line()
           
 
Method Summary
 String getContents()
          Returns the contents of the line.
 String getEol()
          Returns the EOL (End of Line) character of the line.
 String toString()
          Returns a String by concatenating the contents and the EOL character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringHelper.Line

public StringHelper.Line()
Method Detail

getContents

public String getContents()
Returns the contents of the line.

Returns:
The contents.

getEol

public String getEol()
Returns the EOL (End of Line) character of the line.

Returns:
The EOL.

toString

public String toString()
Returns a String by concatenating the contents and the EOL character.

Returns:
a String by concatenating the contents and the EOL character.


Copyright © 2002-2004 JAFFA Project.