public class XJNLPRandomAccessFile extends java.lang.Object implements JNLPRandomAccessFile
| Constructor and Description |
|---|
XJNLPRandomAccessFile(java.io.File file,
java.lang.String mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFilePointer() |
long |
length() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
java.lang.String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
java.lang.String |
readUTF() |
void |
seek(long pos) |
void |
setLength(long newLength) |
int |
skipBytes(int n) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(java.lang.String s) |
void |
writeChar(int v) |
void |
writeChars(java.lang.String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
void |
writeUTF(java.lang.String str) |
public XJNLPRandomAccessFile(java.io.File file,
java.lang.String mode)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface JNLPRandomAccessFilejava.io.IOExceptionpublic long getFilePointer()
throws java.io.IOException
getFilePointer in interface JNLPRandomAccessFilejava.io.IOExceptionpublic long length()
throws java.io.IOException
length in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int read()
throws java.io.IOException
read in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in interface JNLPRandomAccessFilejava.io.IOExceptionpublic boolean readBoolean()
throws java.io.IOException
readBoolean in interface java.io.DataInputreadBoolean in interface JNLPRandomAccessFilejava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in interface java.io.DataInputreadByte in interface JNLPRandomAccessFilejava.io.IOExceptionpublic char readChar()
throws java.io.IOException
readChar in interface java.io.DataInputreadChar in interface JNLPRandomAccessFilejava.io.IOExceptionpublic double readDouble()
throws java.io.IOException
readDouble in interface java.io.DataInputreadDouble in interface JNLPRandomAccessFilejava.io.IOExceptionpublic float readFloat()
throws java.io.IOException
readFloat in interface java.io.DataInputreadFloat in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void readFully(byte[] b)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt in interface java.io.DataInputreadInt in interface JNLPRandomAccessFilejava.io.IOExceptionpublic java.lang.String readLine()
throws java.io.IOException
readLine in interface java.io.DataInputreadLine in interface JNLPRandomAccessFilejava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong in interface java.io.DataInputreadLong in interface JNLPRandomAccessFilejava.io.IOExceptionpublic short readShort()
throws java.io.IOException
readShort in interface java.io.DataInputreadShort in interface JNLPRandomAccessFilejava.io.IOExceptionpublic java.lang.String readUTF()
throws java.io.IOException
readUTF in interface java.io.DataInputreadUTF in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int readUnsignedByte()
throws java.io.IOException
readUnsignedByte in interface java.io.DataInputreadUnsignedByte in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int readUnsignedShort()
throws java.io.IOException
readUnsignedShort in interface java.io.DataInputreadUnsignedShort in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void seek(long pos)
throws java.io.IOException
seek in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void setLength(long newLength)
throws java.io.IOException
setLength in interface JNLPRandomAccessFilejava.io.IOExceptionpublic int skipBytes(int n)
throws java.io.IOException
skipBytes in interface java.io.DataInputskipBytes in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in interface java.io.DataOutputwrite in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in interface java.io.DataOutputwrite in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in interface java.io.DataOutputwrite in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeBoolean(boolean v)
throws java.io.IOException
writeBoolean in interface java.io.DataOutputwriteBoolean in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeByte(int v)
throws java.io.IOException
writeByte in interface java.io.DataOutputwriteByte in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeBytes(java.lang.String s)
throws java.io.IOException
writeBytes in interface java.io.DataOutputwriteBytes in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeChar(int v)
throws java.io.IOException
writeChar in interface java.io.DataOutputwriteChar in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeChars(java.lang.String s)
throws java.io.IOException
writeChars in interface java.io.DataOutputwriteChars in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeDouble(double v)
throws java.io.IOException
writeDouble in interface java.io.DataOutputwriteDouble in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeFloat(float v)
throws java.io.IOException
writeFloat in interface java.io.DataOutputwriteFloat in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeInt(int v)
throws java.io.IOException
writeInt in interface java.io.DataOutputwriteInt in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeLong(long v)
throws java.io.IOException
writeLong in interface java.io.DataOutputwriteLong in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeShort(int v)
throws java.io.IOException
writeShort in interface java.io.DataOutputwriteShort in interface JNLPRandomAccessFilejava.io.IOExceptionpublic void writeUTF(java.lang.String str)
throws java.io.IOException
writeUTF in interface java.io.DataOutputwriteUTF in interface JNLPRandomAccessFilejava.io.IOException