org.xBaseJ
Class DBTFile
java.lang.Object
org.xBaseJ.DBTFile
- Direct Known Subclasses:
- DBT_fpt, DBT_iii, DBT_iv
public abstract class DBTFile
- extends Object
This class is courtesy of the xBaseJ project: http://xbasej.sourceforge.net/
Copyright 1997-2007 - American Coders, LTD - Raleigh NC USA
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27615 USA
1-919-846-2014
http://www.americancoders.com
- Author:
- Joe McVerry, American Coders Ltd.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTEZERO
public static final byte BYTEZERO
- See Also:
- Constant Field Values
BYTESPACE
public static final byte BYTESPACE
- See Also:
- Constant Field Values
file
protected RandomAccessFile file
open
protected boolean open
thefile
protected File thefile
memoBlockSize
protected int memoBlockSize
nextBlock
protected int nextBlock
database
protected DBF database
extension
protected String extension
DBTFile
public DBTFile(DBF iDBF,
boolean readonly,
int type)
throws IOException,
xBaseJException,
IOException
- Throws:
IOException
xBaseJException
DBTFile
public DBTFile(DBF iDBF,
String name,
boolean destroy,
int type)
throws IOException,
xBaseJException
- Throws:
IOException
xBaseJException
rename
public void rename(String name)
throws IOException
- Throws:
IOException
setNextBlock
public abstract void setNextBlock()
throws IOException
- Throws:
IOException
readBytes
public abstract byte[] readBytes(byte[] input)
throws IOException,
xBaseJException
- Throws:
IOException
xBaseJException
write
public abstract byte[] write(String value,
int originalSize,
boolean write,
byte[] originalPos)
throws IOException,
xBaseJException
- Throws:
IOException
xBaseJException
seek
public void seek(int pos)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2007-2011. All Rights Reserved.