vishnu.persistence
Class PersistenceConnectorImpl
java.lang.Object
vishnu.persistence.PersistenceConnectorImpl
- All Implemented Interfaces:
- PersistenceConnector
public class PersistenceConnectorImpl
- extends java.lang.Object
- implements PersistenceConnector
RandomAccessFile wrapper
- Author:
- Mariano Tepper
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceConnectorImpl
public PersistenceConnectorImpl(java.io.File f)
writeBoolean
public void writeBoolean(boolean b)
- Specified by:
writeBoolean
in interface PersistenceConnector
readBoolean
public boolean readBoolean()
- Specified by:
readBoolean
in interface PersistenceConnector
writeInt
public void writeInt(int i)
- Specified by:
writeInt
in interface PersistenceConnector
readInt
public int readInt()
- Specified by:
readInt
in interface PersistenceConnector
writeLong
public void writeLong(long l)
- Specified by:
writeLong
in interface PersistenceConnector
readLong
public long readLong()
- Specified by:
readLong
in interface PersistenceConnector
writeDouble
public void writeDouble(double d)
- Specified by:
writeDouble
in interface PersistenceConnector
readDouble
public double readDouble()
- Specified by:
readDouble
in interface PersistenceConnector
writeString
public void writeString(java.lang.String s)
- Specified by:
writeString
in interface PersistenceConnector
readString
public java.lang.String readString()
- Specified by:
readString
in interface PersistenceConnector
getFilePointer
public long getFilePointer()
- Specified by:
getFilePointer
in interface PersistenceConnector
skipBytes
public void skipBytes(int i)
- Specified by:
skipBytes
in interface PersistenceConnector
writeChar
public void writeChar(char c)
- Specified by:
writeChar
in interface PersistenceConnector
seek
public void seek(long l)
- Specified by:
seek
in interface PersistenceConnector
length
public long length()
- Specified by:
length
in interface PersistenceConnector
close
public void close()
- Specified by:
close
in interface PersistenceConnector
write
public void write(byte[] b)
- Specified by:
write
in interface PersistenceConnector