com.servingxml.components.flatfile.scanner.characters
Class ReaderRecordBlock

java.lang.Object
  extended by com.servingxml.components.flatfile.scanner.characters.AbstractRecordBlock
      extended by com.servingxml.components.flatfile.scanner.characters.ReaderRecordBlock
All Implemented Interfaces:
RecordBlock

public class ReaderRecordBlock
extends AbstractRecordBlock
implements RecordBlock


Field Summary
protected static int BLOCK_LENGTH
           
 
Fields inherited from class com.servingxml.components.flatfile.scanner.characters.AbstractRecordBlock
buffer, capacity, length, maxCapacity, reserved, start
 
Constructor Summary
ReaderRecordBlock(java.io.Reader is)
           
ReaderRecordBlock(java.io.Reader is, int blockLength)
           
 
Method Summary
protected  void read(int n)
           
 
Methods inherited from class com.servingxml.components.flatfile.scanner.characters.AbstractRecordBlock
buffer, capacity, clear, getReserved, grow, length, maxCapacity, next, remove, setReserved, size, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.servingxml.components.flatfile.scanner.characters.RecordBlock
buffer, capacity, clear, getReserved, length, maxCapacity, next, remove, setReserved, size, start
 

Field Detail

BLOCK_LENGTH

protected static final int BLOCK_LENGTH
See Also:
Constant Field Values
Constructor Detail

ReaderRecordBlock

public ReaderRecordBlock(java.io.Reader is)

ReaderRecordBlock

public ReaderRecordBlock(java.io.Reader is,
                         int blockLength)
Method Detail

read

protected void read(int n)
             throws java.io.IOException
Specified by:
read in class AbstractRecordBlock
Throws:
java.io.IOException