vishnu.persistence
Class ExclusivePersistenceConnector

java.lang.Object
  extended by vishnu.persistence.ExclusivePersistenceConnector
All Implemented Interfaces:
PersistenceConnector

public class ExclusivePersistenceConnector
extends java.lang.Object
implements PersistenceConnector

 

Constructor Summary
ExclusivePersistenceConnector(java.io.File f)
           
 
Method Summary
 void close()
           
 long getFilePointer()
           
 long length()
           
 boolean readBoolean()
           
 double readDouble()
           
 int readInt()
           
 long readLong()
           
 java.lang.String readString()
           
 void seek(long l)
           
 void skipBytes(int i)
           
 void write(byte[] b)
           
 void writeBoolean(boolean b)
           
 void writeChar(char c)
           
 void writeDouble(double d)
           
 void writeInt(int i)
           
 void writeLong(long l)
           
 void writeString(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExclusivePersistenceConnector

public ExclusivePersistenceConnector(java.io.File f)
Method Detail

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