com.starteam.util
Class LineProcessor

java.lang.Object
  extended by java.io.Reader
      extended by com.starteam.util.LineProcessor
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable
Direct Known Subclasses:
EOLReader, File.KeywordReader

public abstract class LineProcessor
extends java.io.Reader

The class definition for a Line Processor


Constructor Summary
LineProcessor(LineReader source)
           
 
Method Summary
 void close()
           
abstract  java.io.Reader endofInput()
           
abstract  java.io.Reader processLine(java.lang.String line, int eol)
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineProcessor

public LineProcessor(LineReader source)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

processLine

public abstract java.io.Reader processLine(java.lang.String line,
                                           int eol)
                                    throws java.io.IOException
Throws:
java.io.IOException

endofInput

public abstract java.io.Reader endofInput()
                                   throws java.io.IOException
Throws:
java.io.IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in class java.io.Reader
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.