|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputAccessor
Interface used to expose beginning of a data file to data format detection code.
| Nested Class Summary | |
|---|---|
static class |
InputAccessor.Std
Basic implementation that reads data from given InputStream and buffers it as necessary. |
| Method Summary | |
|---|---|
boolean |
hasMoreBytes()
Method to call to check if more input is available. |
byte |
nextByte()
Returns next byte available, if any; if no more bytes are available, will throw EOFException. |
void |
reset()
Method that can be called to reset accessor to read from beginning of input. |
| Method Detail |
|---|
boolean hasMoreBytes()
throws IOException
IOException may get thrown.
IOException
byte nextByte()
throws IOException
EOFException.
IOExceptionvoid reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||