@Public public abstract class FSDataInputStream extends InputStream
FileSystem.| Constructor and Description |
|---|
FSDataInputStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getPos()
Get the current position in the input stream.
|
abstract void |
seek(long desired)
Seek to the given offset from the start of the file.
|
available, close, mark, markSupported, read, read, read, reset, skippublic abstract void seek(long desired)
throws IOException
desired - the desired offsetIOException - thrown if an error occurred while seeking inside the input streampublic abstract long getPos()
throws IOException
IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.