Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.pepperview.romzinger
Class DataFileTokenizer  view DataFileTokenizer download DataFileTokenizer.java

java.lang.Object
  extended bycom.pepperview.romzinger.DataFileTokenizer

public class DataFileTokenizer
extends java.lang.Object

Description of the Class


Field Summary
private  java.lang.String curLine
           
private  int cursor
           
private  java.io.BufferedReader in
           
private  java.lang.String line
           
private  int lineNb
           
private  java.lang.String nextToken
           
 
Constructor Summary
DataFileTokenizer(java.lang.String fileName)
          Constructor for the DataFileTokenizer object
 
Method Summary
 int getLineNumber()
          Gets the LineNumber attribute of the DataFileTokenizer object
 boolean hasMoreTokens()
          Description of the Method
 int nextIntToken()
          Description of the Method
 long nextLongHexToken()
          Description of the Method
 long nextLongToken()
          Description of the Method
 java.lang.String nextToken()
          Description of the Method
private  void preFetchNextToken()
          Description of the Method
private  void readNextLine()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

private java.io.BufferedReader in

nextToken

private java.lang.String nextToken

curLine

private java.lang.String curLine

cursor

private int cursor

lineNb

private int lineNb

line

private java.lang.String line
Constructor Detail

DataFileTokenizer

public DataFileTokenizer(java.lang.String fileName)
                  throws java.io.IOException,
                         MalformedDataFileException
Constructor for the DataFileTokenizer object

Since:
Method Detail

getLineNumber

public int getLineNumber()
Gets the LineNumber attribute of the DataFileTokenizer object

Since:

hasMoreTokens

public boolean hasMoreTokens()
Description of the Method

Since:

nextIntToken

public int nextIntToken()
                 throws java.io.IOException,
                        MalformedDataFileException
Description of the Method

Since:

nextLongToken

public long nextLongToken()
                   throws java.io.IOException,
                          MalformedDataFileException
Description of the Method

Since:

nextLongHexToken

public long nextLongHexToken()
                      throws java.io.IOException,
                             MalformedDataFileException
Description of the Method

Since:

nextToken

public java.lang.String nextToken()
                           throws java.io.IOException,
                                  MalformedDataFileException
Description of the Method

Since:

preFetchNextToken

private void preFetchNextToken()
                        throws java.io.IOException,
                               MalformedDataFileException
Description of the Method

Since:

readNextLine

private void readNextLine()
                   throws java.io.IOException
Description of the Method

Since: