MetaTF API

MetaTF.Runtime
Interface LowLevelReader

All Known Implementing Classes:
AsciiReader

public interface LowLevelReader

LowLevelReader interface

Version:
rel-1-2 ($Revision: 1.1 $, $Date: 2000/12/15 16:35:32 $),
Author:
Richard Jones

Method Summary
 java.lang.String readAny()
          Read a special read without encoding
 java.lang.String readln()
          Read to end of line without encoding.
 long readNum()
          Read a number
 java.lang.String readString()
          Read a string Handles escape characters etc.
 int readTag()
          Read a tag
 

Method Detail

readNum

public long readNum()
             throws BadRecordException,
                    java.io.IOException
Read a number
Throws:
BadRecordException - IF the record is malformed
java.io.IOException - IF the read fails

readTag

public int readTag()
            throws BadRecordException,
                   java.io.IOException
Read a tag
Throws:
BadRecordException - IF the record is malformed
java.io.IOException - IF the read fails

readString

public java.lang.String readString()
                            throws BadRecordException,
                                   java.io.IOException
Read a string Handles escape characters etc.
Throws:
BadRecordException - IF the record is malformed
java.io.IOException - IF the read fails

readAny

public java.lang.String readAny()
                         throws BadRecordException,
                                java.io.IOException
Read a special read without encoding
Throws:
BadRecordException - IF the record is malformed
java.io.IOException - IF the read fails

readln

public java.lang.String readln()
                        throws BadRecordException,
                               java.io.IOException
Read to end of line without encoding. Used for comments
Throws:
BadRecordException - IF the record is malformed
java.io.IOException - IF the read fails

MetaTF API

Copyright © 2001 - Richard Jones     MetaTF