public class SmbRandomAccessFile
extends java.lang.Object
implements DataOutput, DataInput
SmbRandomAccessFile
public SmbRandomAccessFile(String url,
String mode,
int shareAccess)
throws SmbException,
MalformedURLException,
UnknownHostException
SmbRandomAccessFile
public SmbRandomAccessFile(SmbFile file,
String mode)
throws SmbException,
MalformedURLException,
UnknownHostException
getFilePointer
public long getFilePointer()
throws SmbException
read
public int read(b[] ,
int off,
int len)
throws SmbException
readBoolean
public final boolean readBoolean()
throws SmbException
readDouble
public final double readDouble()
throws SmbException
readFully
public final void readFully(b[] )
throws SmbException
readFully
public final void readFully(b[] ,
int off,
int len)
throws SmbException
readUnsignedByte
public final int readUnsignedByte()
throws SmbException
readUnsignedShort
public final int readUnsignedShort()
throws SmbException
setLength
public void setLength(long newLength)
throws SmbException
write
public void write(b[] ,
int off,
int len)
throws SmbException
writeBoolean
public final void writeBoolean(boolean v)
throws SmbException
writeByte
public final void writeByte(int v)
throws SmbException
writeBytes
public final void writeBytes(String s)
throws SmbException
writeChar
public final void writeChar(int v)
throws SmbException
writeChars
public final void writeChars(String s)
throws SmbException
writeDouble
public final void writeDouble(double v)
throws SmbException
writeFloat
public final void writeFloat(float v)
throws SmbException
writeInt
public final void writeInt(int v)
throws SmbException
writeLong
public final void writeLong(long v)
throws SmbException
writeShort
public final void writeShort(int v)
throws SmbException
writeUTF
public final void writeUTF(String str)
throws SmbException