noope.input
Class FileBlockReader

java.lang.Object
  |
  +--noope.input.BlockReader
        |
        +--noope.input.StringBlockReader
              |
              +--noope.input.FileBlockReader

public class FileBlockReader
extends StringBlockReader

A StringBlockReader with support for reading from files. This first version reads in the entire file as a string.

Version:
08-Jun-2001: changed constructors to throw BlockReaderExceptions rather than StringBlockReaderExceptions, because did not compile [Miklos Reiter].
Author:
Paul Evans

Constructor Summary
FileBlockReader(java.io.BufferedReader reader)
           
FileBlockReader(java.lang.String fileName)
           
 
Methods inherited from class noope.input.StringBlockReader
getBlockLocation, getContext, getEntryLocation, getHeader, getNextBlock, getNextEntry, getParameter, hasMoreBlocks, hasMoreEntries, peekNextBlock, peekNextEntry, seekFirstBlock, seekFirstEntry
 
Methods inherited from class noope.input.BlockReader
assertEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBlockReader

public FileBlockReader(java.lang.String fileName)
                throws java.io.FileNotFoundException,
                       java.io.IOException,
                       BlockReaderException

FileBlockReader

public FileBlockReader(java.io.BufferedReader reader)
                throws java.io.IOException,
                       BlockReaderException