org.alliance.core.file.filedatabase
Class FileDescriptorAllocationTable

java.lang.Object
  extended by org.alliance.core.file.filedatabase.FileDescriptorAllocationTable

public class FileDescriptorAllocationTable
extends java.lang.Object

Created by IntelliJ IDEA. User: maciek Date: 2006-jan-06 Time: 17:11:26 To change this template use File | Settings | File Templates.


Constructor Summary
FileDescriptorAllocationTable()
           
 
Method Summary
 int addOffset(int offset)
           
 int getNumberOfFiles()
           
 int getOffset(int fdIndex)
           
 void load(java.io.ObjectInputStream in)
           
 void save(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDescriptorAllocationTable

public FileDescriptorAllocationTable()
Method Detail

getOffset

public int getOffset(int fdIndex)

addOffset

public int addOffset(int offset)
Parameters:
offset -
Returns:
index at wich this offset ended up at

getNumberOfFiles

public int getNumberOfFiles()

save

public void save(java.io.ObjectOutputStream out)
          throws java.io.IOException
Throws:
java.io.IOException

load

public void load(java.io.ObjectInputStream in)
          throws java.io.IOException
Throws:
java.io.IOException