com.starbase.util
Class EOLReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--com.starbase.util.LineProcessor
              |
              +--com.starbase.util.EOLReader

public class EOLReader
extends LineProcessor


Constructor Summary
EOLReader(LineReader source, java.lang.String newEOL)
           
 
Method Summary
 java.io.Reader endofInput()
           
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 int hashCode()
          returns a unique hash for all instances of this type
 java.io.Reader processLine(java.lang.String line, int eol)
           
 
Methods inherited from class com.starbase.util.LineProcessor
close, read
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOLReader

public EOLReader(LineReader source,
                 java.lang.String newEOL)
          throws java.io.IOException
Method Detail

processLine

public java.io.Reader processLine(java.lang.String line,
                                  int eol)
                           throws java.io.IOException
Specified by:
processLine in class LineProcessor
java.io.IOException

endofInput

public java.io.Reader endofInput()
Specified by:
endofInput in class LineProcessor

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class LineProcessor
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class LineProcessor
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.