|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.Reader
|
+--java.io.BufferedReader
|
+--util.BufferedEntryReader
Klasse zum strukturierten, gepufferten Einlesen von Streams.
| Field Summary |
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
BufferedEntryReader(java.io.InputStream in)
This method was created by a SmartGuide. |
|
BufferedEntryReader(java.io.InputStream in,
int sz)
This method was created by a SmartGuide. |
|
BufferedEntryReader(java.io.Reader in)
BufferedEntryReader constructor comment. |
|
BufferedEntryReader(java.io.Reader in,
int sz)
BufferedEntryReader constructor comment. |
|
| Method Summary | |
boolean |
eof()
Gibt zurück, ob das Ende des Streams / der Datei erreicht wurde. |
boolean |
eol()
Gibt zurück, ob das Ende der Zeile erreicht wurde. |
boolean |
numErr()
Gibt zurück, ob bei der letzten Lese-Operation ein numerischer Fehler erfolgt ist. |
boolean |
readBoolean()
Liest einen Boolean. |
char |
readChar()
Liest ein Zeichen. |
double |
readDouble()
Liest eine Double-Zahl. |
int |
readInt()
Liest eine Integer-Zahl. |
long |
readLong()
Liest eine Long-Zahl. |
short |
readShort()
Liest eine Short-Zahl. |
java.lang.String |
readString()
Liest eine Zeichenkette ein. |
short |
readWord2()
Liest ein Wort, das aus 2 Byte besteht zurück. |
int |
readWord4()
Liest ein Wort, das aus 4 Byte besteht zurück. |
void |
setNextEntryLength(int length)
Setzt die Länge des nächsten einzulesenden Eintrags. |
void |
setTerminatingChar(char t)
Setzt das Abschlußzeichen (Default = '\t'). |
| Methods inherited from class java.io.BufferedReader |
close, mark, markSupported, read, read, readLine, ready, reset, skip |
| Methods inherited from class java.io.Reader |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface util.EntryInput |
skip |
| Constructor Detail |
public BufferedEntryReader(java.io.InputStream in)
in - java.io.InputStream
public BufferedEntryReader(java.io.InputStream in,
int sz)
in - java.io.InputStreamsz - intpublic BufferedEntryReader(java.io.Reader in)
in - java.io.Reader
public BufferedEntryReader(java.io.Reader in,
int sz)
in - java.io.Readersz - int| Method Detail |
public boolean eof()
eof in interface EntryInputpublic boolean eol()
eol in interface EntryInputpublic boolean numErr()
numErr in interface EntryInputpublic boolean readBoolean()
readBoolean in interface EntryInputpublic char readChar()
readChar in interface EntryInputpublic double readDouble()
readDouble in interface EntryInputpublic int readInt()
readInt in interface EntryInputpublic long readLong()
readLong in interface EntryInputpublic short readShort()
readShort in interface EntryInputpublic java.lang.String readString()
readString in interface EntryInputpublic short readWord2()
readWord2 in interface EntryInputpublic int readWord4()
readWord4 in interface EntryInputpublic void setNextEntryLength(int length)
setNextEntryLength in interface EntryInputlength - Eintragslänge, 0 = beliebigpublic void setTerminatingChar(char t)
setTerminatingChar in interface EntryInputt - Abschlußzeichen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||