org.xBaseJ
Class DBT_fpt

java.lang.Object
  extended byorg.xBaseJ.DBTFile
      extended byorg.xBaseJ.DBT_fpt

public class DBT_fpt
extends DBTFile


Field Summary
 
Fields inherited from class org.xBaseJ.DBTFile
BYTESPACE, BYTEZERO, database, extension, file, nextBlock, open, thefile
 
Constructor Summary
DBT_fpt(DBF iDBF, boolean readOnly)
           
DBT_fpt(DBF iDBF, String name, boolean destroy)
           
 
Method Summary
 byte[] readBytes(byte[] input)
           
 void rename(String name)
           
 void setNextBlock()
           
 byte[] write(byte[] inBytes, int originalSize, boolean write, byte[] originalPos)
           
 byte[] write(String value, int originalSize, boolean write, byte[] originalPos)
           
 
Methods inherited from class org.xBaseJ.DBTFile
close, seek
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBT_fpt

public DBT_fpt(DBF iDBF,
               boolean readOnly)
        throws IOException,
               xBaseJException

DBT_fpt

public DBT_fpt(DBF iDBF,
               String name,
               boolean destroy)
        throws IOException,
               xBaseJException
Method Detail

rename

public void rename(String name)
            throws IOException
Overrides:
rename in class DBTFile
Throws:
IOException

setNextBlock

public void setNextBlock()
                  throws IOException
Specified by:
setNextBlock in class DBTFile
Throws:
IOException

readBytes

public byte[] readBytes(byte[] input)
                 throws IOException,
                        xBaseJException
Specified by:
readBytes in class DBTFile
Throws:
IOException
xBaseJException

write

public byte[] write(String value,
                    int originalSize,
                    boolean write,
                    byte[] originalPos)
             throws IOException,
                    xBaseJException
Specified by:
write in class DBTFile
Throws:
IOException
xBaseJException

write

public byte[] write(byte[] inBytes,
                    int originalSize,
                    boolean write,
                    byte[] originalPos)
             throws IOException,
                    xBaseJException
Throws:
IOException
xBaseJException


Copyright © 1997-2007 American Coders Ltd. All Rights Reserved.