public class RandomAccessFile extends Object implements DataInput, DataOutput
Constructor and Description |
---|
RandomAccessFile(File var0,
String var1) |
RandomAccessFile(String var0,
String var1) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
FileDescriptor |
getFD() |
long |
getFilePointer() |
long |
length() |
int |
read() |
int |
read(byte[] var0) |
int |
read(byte[] var0,
int var1,
int var2) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] var0) |
void |
readFully(byte[] var0,
int var1,
int var2) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
seek(long var0) |
void |
setLength(long var0) |
int |
skipBytes(int var0) |
void |
write(byte[] var0) |
void |
write(byte[] var0,
int var1,
int var2) |
void |
write(int var0) |
void |
writeBoolean(boolean var0) |
void |
writeByte(int var0) |
void |
writeBytes(String var0) |
void |
writeChar(int var0) |
void |
writeChars(String var0) |
void |
writeDouble(double var0) |
void |
writeFloat(float var0) |
void |
writeInt(int var0) |
void |
writeLong(long var0) |
void |
writeShort(int var0) |
void |
writeUTF(String var0) |
public RandomAccessFile(File var0, String var1) throws FileNotFoundException
FileNotFoundException
public RandomAccessFile(String var0, String var1) throws FileNotFoundException
FileNotFoundException
public void close() throws IOException
IOException
public final FileDescriptor getFD() throws IOException
IOException
public long getFilePointer() throws IOException
IOException
public long length() throws IOException
IOException
public int read() throws IOException
IOException
public int read(byte[] var0) throws IOException
IOException
public int read(byte[] var0, int var1, int var2) throws IOException
IOException
public final boolean readBoolean() throws IOException
readBoolean
in interface DataInput
IOException
public final byte readByte() throws IOException
readByte
in interface DataInput
IOException
public final char readChar() throws IOException
readChar
in interface DataInput
IOException
public final double readDouble() throws IOException
readDouble
in interface DataInput
IOException
public final float readFloat() throws IOException
readFloat
in interface DataInput
IOException
public final void readFully(byte[] var0) throws IOException
readFully
in interface DataInput
IOException
public final void readFully(byte[] var0, int var1, int var2) throws IOException
readFully
in interface DataInput
IOException
public final int readInt() throws IOException
readInt
in interface DataInput
IOException
public final String readLine() throws IOException
readLine
in interface DataInput
IOException
public final long readLong() throws IOException
readLong
in interface DataInput
IOException
public final short readShort() throws IOException
readShort
in interface DataInput
IOException
public final int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
IOException
public final int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
IOException
public final String readUTF() throws IOException
readUTF
in interface DataInput
IOException
public void seek(long var0) throws IOException
IOException
public void setLength(long var0) throws IOException
IOException
public int skipBytes(int var0) throws IOException
skipBytes
in interface DataInput
IOException
public void write(byte[] var0) throws IOException
write
in interface DataOutput
IOException
public void write(byte[] var0, int var1, int var2) throws IOException
write
in interface DataOutput
IOException
public void write(int var0) throws IOException
write
in interface DataOutput
IOException
public final void writeBoolean(boolean var0) throws IOException
writeBoolean
in interface DataOutput
IOException
public final void writeByte(int var0) throws IOException
writeByte
in interface DataOutput
IOException
public final void writeBytes(String var0) throws IOException
writeBytes
in interface DataOutput
IOException
public final void writeChar(int var0) throws IOException
writeChar
in interface DataOutput
IOException
public final void writeChars(String var0) throws IOException
writeChars
in interface DataOutput
IOException
public final void writeDouble(double var0) throws IOException
writeDouble
in interface DataOutput
IOException
public final void writeFloat(float var0) throws IOException
writeFloat
in interface DataOutput
IOException
public final void writeInt(int var0) throws IOException
writeInt
in interface DataOutput
IOException
public final void writeLong(long var0) throws IOException
writeLong
in interface DataOutput
IOException
public final void writeShort(int var0) throws IOException
writeShort
in interface DataOutput
IOException
public final void writeUTF(String var0) throws IOException
writeUTF
in interface DataOutput
IOException
Copyright © 2006–2013 OSGi Alliance. All rights reserved.