edu.uci.ics.dillenco.simplegraph01
Class InputDecoderAscii

java.lang.Object
  extended by edu.uci.ics.dillenco.simplegraph01.InputDecoder
      extended by edu.uci.ics.dillenco.simplegraph01.InputDecoderAscii
Direct Known Subclasses:
InputDecoderMDAscii, InputDecoderPTAscii

abstract class InputDecoderAscii
extends InputDecoder


Field Summary
protected  char curChar
           
protected static char EOF
           
protected static char EOL
           
protected  BufferedReader in
           
protected  String line
           
protected  int lineMax
           
protected  int linePos
           
 
Fields inherited from class edu.uci.ics.dillenco.simplegraph01.InputDecoder
id0, id1, neighborCount, neighborTable
 
Constructor Summary
InputDecoderAscii(int inputMaxNodes)
           
 
Method Summary
protected  void advanceChar()
           
(package private)  void getLine()
           
(package private)  void inputHeader()
           
protected  void printCurChar(boolean newLine)
           
protected  void skipLine()
           
protected  void skipWhiteSpace()
           
 
Methods inherited from class edu.uci.ics.dillenco.simplegraph01.InputDecoder
inputEdgeSpec, inputNodeCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected BufferedReader in

curChar

protected char curChar

line

protected String line

linePos

protected int linePos

lineMax

protected int lineMax

EOF

protected static final char EOF
See Also:
Constant Field Values

EOL

protected static final char EOL
See Also:
Constant Field Values
Constructor Detail

InputDecoderAscii

InputDecoderAscii(int inputMaxNodes)
Method Detail

inputHeader

void inputHeader()
Specified by:
inputHeader in class InputDecoder

advanceChar

protected void advanceChar()

printCurChar

protected void printCurChar(boolean newLine)

getLine

void getLine()

skipWhiteSpace

protected void skipWhiteSpace()

skipLine

protected void skipLine()