|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomAccessFileOrMemory
Random access interface for File or Memory The following classes implement this interface: - BufferedRandomAccessFile - ByteArray
Field Summary | |
---|---|
static java.lang.String |
RCS_ID
|
Method Summary | |
---|---|
void |
close()
Close |
long |
getFilePointer()
Returns the position. |
long |
length()
Returns the length of this file or memory. |
int |
read()
Read a byte of data |
int |
read(byte[] b)
Reads up to b.length bytes of data from this file into an array of bytes. |
int |
read(byte[] b,
int off,
int len)
Reads up to len bytes of data from this file into an array of bytes. |
void |
seek(long pos)
Seek the position |
void |
setLength(long newLength)
Set the file length or memory size. |
int |
skipBytes(int n)
Attempts to skip over n bytes of input discarding the skipped bytes. |
void |
write(byte[] b)
Writes b.length bytes from the specified byte array |
void |
write(byte[] b,
int off,
int len)
Writes len bytes from the specified byte array. |
void |
write(int b)
Writes the specified byte. |
Field Detail |
---|
static final java.lang.String RCS_ID
Method Detail |
---|
int read() throws java.io.IOException
java.io.IOException
int read(byte[] b) throws java.io.IOException
buf
-
java.io.IOException
int read(byte[] b, int off, int len) throws java.io.IOException
b
- the buffer into which the data is read.off
- the start offset of the data.len
- the maximum number of bytes read.
java.io.IOException
int skipBytes(int n) throws java.io.IOException
n
- the number of bytes to be skipped.
java.io.IOException
void write(int b) throws java.io.IOException
b
- the byte to be written.
java.io.IOException
void write(byte[] b) throws java.io.IOException
b
- the data.
java.io.IOException
void write(byte[] b, int off, int len) throws java.io.IOException
b
- the data.off
- the start offset in the data.len
- the number of bytes to write.
java.io.IOException
long getFilePointer()
void seek(long pos) throws java.io.IOException
pos
-
java.io.IOException
long length() throws java.io.IOException
java.io.IOException
void setLength(long newLength) throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |