edu.ucsb.nceas.morpho.datapackage
Class ObjectFile

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.datapackage.ObjectFile

public class ObjectFile
extends java.lang.Object


Constructor Summary
ObjectFile(java.lang.String sName)
           
 
Method Summary
 void close()
           
 void delete()
           
 int getObjectLength(long lPos)
           
 long length()
           
static void main(java.lang.String[] args)
           
 java.lang.Object readObject(long lPos)
           
 long writeObject(java.io.Serializable obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFile

public ObjectFile(java.lang.String sName)
           throws java.io.IOException
Method Detail

writeObject

public long writeObject(java.io.Serializable obj)
                 throws java.io.IOException

getObjectLength

public int getObjectLength(long lPos)
                    throws java.io.IOException

readObject

public java.lang.Object readObject(long lPos)
                            throws java.io.IOException,
                                   java.lang.ClassNotFoundException

length

public long length()
            throws java.io.IOException

close

public void close()
           throws java.io.IOException

delete

public void delete()

main

public static void main(java.lang.String[] args)


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.