public interface DataSource
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getFilePointer() |
int |
read(byte[] b) |
byte |
readByte() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
void |
seek(long pos) |
byte readByte() throws java.io.IOException
java.io.IOException
short readShort() throws java.io.IOException
java.io.IOException
int readInt() throws java.io.IOException
java.io.IOException
long readLong() throws java.io.IOException
java.io.IOException
int read(byte[] b) throws java.io.IOException
java.io.IOException
void seek(long pos) throws java.io.IOException
java.io.IOException
long getFilePointer() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.