Uses of Class
org.xBaseJ.xBaseJException

Packages that use xBaseJException
org.xBaseJ Root package for xBaseJ (derivate of version 20091203) dBase engine. 
org.xBaseJ.fields Fields package for xBaseJ (derivate of version 20091203) dBase engine. 
org.xBaseJ.indexes Indexes package for xBaseJ (derivate of version 20091203) dBase engine. 
 

Uses of xBaseJException in org.xBaseJ
 

Methods in org.xBaseJ that throw xBaseJException
 void DBF.addField(Field aField)
          adds a new Field to a database
 void DBF.addField(Field[] aField)
          adds an array of new Fields to a database
 void DBF.changeField(Field oldField, Field newField)
          changes a Field in a database NOT FULLY IMPLEMENTED
protected  void DBF.createDBF(String DBFname, int format, boolean destroy)
           
 Index DBF.createIndex(String filename, String index, boolean unique)
          creates a new Index as a NDX file, assumes NDX file does not exist.
 Index DBF.createIndex(String filename, String index, boolean destroy, boolean unique)
          creates a new Index as a NDX file.
 Index DBF.createTag(String tagname, String tagIndex, boolean unique)
          creates a tag in the MDX file.
 void DBF.delete()
          marks the current records as deleted.
 void DBF.dropField(Field aField)
          removes a Field from a database NOT FULLY IMPLEMENTED
 boolean DBF.find(String keyString)
          used to find a record with an equal or greater string value. when done the record pointer and field contents will be changed.
 boolean DBF.find(String keyString, boolean lock)
          used to find a record with an equal or greater string value. when done the record pointer and field contents will be changed.
 boolean DBF.find(String keyString, int recno)
          used to find a record with an equal and at the particular record. when done the record pointer and field contents will be changed.
 boolean DBF.find(String keyString, int recno, boolean lock)
          used to find a record with an equal and at the particular record. when done the record pointer and field contents will be changed.
 boolean DBF.findExact(String keyString)
          used to find a record with an equal string value. when done the record pointer and field contents will be changed only if the exact key is found.
 boolean DBF.findExact(String keyString, boolean lock)
          used to find a record with an equal string value. when done the record pointer and field contents will be changed only if the exact key is found.
 void DBF.findNext()
          used to get the next record in the index list. when done the record pointer and field contents will be changed
 void DBF.findNext(boolean lock)
          used to get the next record in the index list. when done the record pointer and field contents will be changed.
 void DBF.findPrev()
          used to get the previous record in the index list. when done the record pointer and field contents will be changed.
 void DBF.findPrev(boolean lock)
          used to get the previous record in the index list. when done the record pointer and field contents will be changed.
 String Message.getField(int pos)
           
 Field DBF.getField(int i)
          returns a Field object by its relative position.
 String Message.getField(String ID)
           
 Field DBF.getField(String name)
          returns a Field object by its name in the database.
 Index DBF.getIndex(int indexPosition)
          gets an Index object associated with the database.
 void DBF.getXML(PrintWriter pw)
          generates an xml string representation using xbase.dtd
 File DBF.getXML(String inFileName)
          generates an xml string representation using xbase.dtd
 void DBF.gotoRecord(int recno)
          used to read a record at a particular place in the database. when done the record pointer and field contents will be changed.
 void DBF.gotoRecord(int recno, boolean lock)
          used to read a record at a particular place in the database. when done the record pointer and field contents will be changed.
 void DBF.lock()
          locks the entire database
will try 5 times within the fileLockTimeOut specified in org.xBaseJ.property fileLockTimeOut, default 5000 milliseconds (5 seconds)
 void DBF.lockRecord()
          locks the current record, exclusively
will try 5 times within the fileLockTimeOut specified in org.xBaseJ.property fileLockTimeOut, default 5000 milliseconds (5 seconds)
 void DBF.lockRecord(int recno)
          locks a particular record, exclusively
will try 5 times within the fileLockTimeOut specified in org.xBaseJ.property fileLockTimeOut, default 5000 milliseconds (5 seconds)
protected  void DBF.openDBF(String DBFname)
          opens an existing database file.
 void DBF.pack()
          packs a DBF by removing deleted records and memo fields.
protected  Field DBF.read_Field_header()
           
 void DBF.read()
          used to read the next record, after the current record pointer, in the database. when done the record pointer and field contents will be changed.
 void DBF.read(boolean lock)
          used to read the next record, after the current record pointer, in the database. when done the record pointer and field contents will be changed.
 byte[] DBT_iv.readBytes(byte[] input)
           
 byte[] DBT_iii.readBytes(byte[] input)
           
 byte[] DBT_fpt.readBytes(byte[] input)
           
abstract  byte[] DBTFile.readBytes(byte[] input)
           
 void DBF.readPrev()
          used to read the previous record, before the current record pointer, in the database. when done the record pointer and field contents will be changed.
 void DBF.readPrev(boolean lock)
          used to read the previous record, before the current record pointer, in the database. when done the record pointer and field contents will be changed.
 void DBF.startBottom()
          used to position record pointer at the last record or index in the database. when done the record pointer will be changed.
 void DBF.startTop()
          used to position record pointer at the first record or index in the database. when done the record pointer will be changed.
 void DBF.undelete()
          marks the current records as not deleted.
 void DBF.update()
          updates the record at the current position.
 void DBF.update(boolean lock)
          updates the record at the current position.
 Index DBF.useIndex(Index ndx)
          used to indicate the primary Index
 Index DBF.useIndex(String filename)
          opens an Index file associated with the database.
 Index DBF.useIndex(String filename, String ID)
          opens an Index file associated with the database
 Index DBF.useIndexByID(String ID)
          used to indicate the primary Index.
 Index DBF.useTag(String tagname)
          associates all Index operations with an existing tag.
 Index DBF.useTag(String tagname, String ID)
          associates all Index operations with an existing tag.
protected  void DBF.write_Field_header(Field tField)
           
 void DBF.write()
          used to write a new record in the database. when done the record pointer is at the end of the database.
 void DBF.write(boolean lock)
          used to write a new record in the database. when done the record pointer is at the end of the database.
 byte[] DBT_fpt.write(byte[] inBytes, int originalSize, boolean write, byte[] originalPos)
           
 byte[] DBT_iv.write(String value, int originalSize, boolean write, byte[] originalPos)
           
 byte[] DBT_iii.write(String value, int originalSize, boolean write, byte[] originalPos)
           
 byte[] DBT_fpt.write(String value, int originalSize, boolean write, byte[] originalPos)
           
abstract  byte[] DBTFile.write(String value, int originalSize, boolean write, byte[] originalPos)
           
 

Constructors in org.xBaseJ that throw xBaseJException
DBF(String DBFname)
          creates an DBF object and opens existing database file in read/write mode.
DBF(String DBFname, boolean destroy)
          creates a new DBF file or replaces an existing database file, w/o format assumes dbaseiii file format.
DBF(String DBFname, boolean destroy, String inEncodeType)
          creates a new DBF file or replaces an existing database file, w/o format assumes dbaseiii file format.
DBF(String DBFname, char readOnly)
          creates an DBF object and opens existing database file in readonly mode.
DBF(String DBFname, char readOnly, String inEncodeType)
          creates an DBF object and opens existing database file in readonly mode.
DBF(String DBFname, int format, boolean destroy)
          creates a new DBF file or replaces an existing database file.
DBF(String DBFname, int format, boolean destroy, String inEncodeType)
          creates a new DBF file or replaces an existing database file.
DBF(String DBFname, String inEncodeType)
          creates an DBF object and opens existing database file in read/write mode.
DBT_fpt(DBF iDBF, boolean readOnly)
           
DBT_fpt(DBF iDBF, String name, boolean destroy)
           
DBT_iii(DBF iDBF, boolean readOnly)
           
DBT_iii(DBF iDBF, String name, boolean destroy)
           
DBT_iv(DBF iDBF, boolean readOnly)
           
DBT_iv(DBF iDBF, String name, boolean destroy)
           
DBTFile(DBF iDBF, boolean readonly, int type)
           
DBTFile(DBF iDBF, String name, boolean destroy, int type)
           
Message(DataInputStream InStream)
          creates a message class used by the client/server objects
 

Uses of xBaseJException in org.xBaseJ.fields
 

Methods in org.xBaseJ.fields that throw xBaseJException
 int DateField.compareTo(Calendar compareThis)
          public method for comparing a Java Calendar object.
 String DateField.get(int field)
          public method for getting individual field values
 Calendar DateField.getCalendar()
          public method for returing the date field in a Java Calendar object.
 void PictureField.put(byte[] inBytes)
          sets the contents of the picture Field, variant of the field.put method data not written into DBF until an update or write is issued.
 void MemoField.put(byte[] inBytes)
          sets the contents of the memo Field, variant of the field.put method data not written into DBF until an update or write is issued.
 void Field.put(byte[] inValue)
          set field contents with binary data, no database updates until a DBF update or write is issued if inValue is too short buffer is filled with binary zeros.
 void DateField.put(Calendar inValue)
          sets field contents by a Java Calendar object.
 void LogicalField.put(char inValue)
          allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
 void DateField.put(Date inValue)
          sets field contents by a Java Date object.
 void NumField.put(double inValue)
          sets the field contents.
 void FloatField.put(double inValue)
          sets the field contents.
 void NumField.put(float inValue)
          sets the field contents.
 void FloatField.put(float inValue)
          sets the field contents.
 void NumField.put(int inValue)
          sets the field contents.
 void FloatField.put(int inValue)
          sets the field contents.
 void NumField.put(long inValue)
          sets the field contents.
 void FloatField.put(long inValue)
          sets the field contents.
 void DateField.put(long inValue)
          sets field contents by a long value
 void PictureField.put(String invalue)
          sets the contents of the picture Field, variant of the field.put method data not written into DBF until an update or write is issued.
 void NumField.put(String inValue)
          sets the field contents.
 void LogicalField.put(String inValue)
          allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false
 void FloatField.put(String inValue)
          sets the field contents.
 void Field.put(String inValue)
          set field contents, no database updates until a DBF update or write is issued
 void DateField.put(String inValue)
          sets field contents by a String parameter.
 void PictureField.read()
           
 void MemoField.read()
           
 void Field.read()
           
 void DateField.set(int field, int value)
          public method for setting individual field values
 void Field.setField(String iName, int iLength, ByteBuffer inbuffer)
           
 void PictureField.update()
           
 void MemoField.update()
           
 void Field.update()
           
 void PictureField.write()
           
 void MemoField.write()
           
 void Field.write()
           
 

Constructors in org.xBaseJ.fields that throw xBaseJException
CharField(String iName, int iLength)
          public method for creating a CharacterField object.
CharField(String iName, int iLength, ByteBuffer inBuffer)
           
DateField(String iName)
          public method for creating a DateField object.
DateField(String iName, ByteBuffer inBuffer)
           
FloatField(String iName, int iLength, int DecPoint)
          public method for creating a numeric field object.
FloatField(String iName, int iLength, int DecPoint, ByteBuffer inBuffer)
           
LogicalField(String iName)
          public method for creating a LogicalField object.
LogicalField(String iName, ByteBuffer inBuffer)
           
MemoField(String iName)
          public method for creating a memo field object.
MemoField(String iName, boolean inFoxPro)
          public method for creating a FoxPro memo field object.
MemoField(String Name, ByteBuffer inBuffer, DBTFile indbtobj)
           
NumField(String iName, int iLength, int inDecPosition)
          public method for creating a numeric field object.
NumField(String iName, int iLength, int idecPosition, ByteBuffer inBuffer)
           
PictureField(String iName)
          public method for creating a picture field object.
PictureField(String Name, ByteBuffer inBuffer, DBTFile indbtobj)
           
 

Uses of xBaseJException in org.xBaseJ.indexes
 

Methods in org.xBaseJ.indexes that throw xBaseJException
 int Index.add_entry(int recno)
           
 int NDX.add_entry(NodeKey NDXkey, int recno)
           
 int MDX.add_entry(NodeKey NDXkey, int recno)
           
abstract  int Index.add_entry(NodeKey key, int recno)
           
 void NDX.bIndex()
           
 NodeKey Index.build_key()
           
 String Index.buildKey()
           
 void Index.check_for_duplicates(int count)
           
 boolean Index.compareKey(String keyToCompare)
           
 MDX MDXFile.createTag(String Name, String Index, boolean unique)
           
 void NDX.del_entry(Node inNode)
           
 void MDX.del_entry(Node inNode)
           
abstract  void Index.del_entry(Node inNode)
           
 int NDX.find_entry(NodeKey findKey)
           
 int MDX.find_entry(NodeKey findKey)
           
abstract  int Index.find_entry(NodeKey key)
           
 int NDX.find_entry(NodeKey findKey, int rec)
           
 int MDX.find_entry(NodeKey findKey, int rec)
           
abstract  int Index.find_entry(NodeKey key, int recno)
           
 int MDX.find_entry(NodeKey findKey, MNode aNode, int findrec)
           
 int NDX.find_entry(NodeKey findKey, Node aNode, int findrec)
           
 int Index.find_entry(String key)
           
 int Index.find_entry(String key, int recno)
           
 int NDX.get_next_key()
           
 int MDX.get_next_key()
           
abstract  int Index.get_next_key()
           
 int NDX.get_prev_key()
           
 int MDX.get_prev_key()
           
abstract  int Index.get_prev_key()
           
 MDX MDXFile.getMDX(String Name)
           
 void Index.position_at_first()
           
 void Index.position_at_last()
           
 void NDX.reIndex()
           
 void MDXFile.reIndex()
           
 void MDX.reIndex()
           
abstract  void Index.reIndex()
           
 void Node.set_prev_page(int t)
           
 void Node.set_record_number(int r)
           
 void Index.update(int recno)
           
 void Node.write()
           
 void MNode.write()
           
 

Constructors in org.xBaseJ.indexes that throw xBaseJException
MDX(MDXFile ifile, DBF iDBF, short ipos)
           
MDX(String iname, String NDXString, DBF iDBF, MDXFile ifile, TagDescriptor inTagDesc, short pos, boolean unique)
           
MDXFile(String Name, DBF inDBF, char readonly)
           
NDX(String filename, DBF indatabase, char readonly)
           
NDX(String name, String NDXString, DBF indatabase, boolean destroy, boolean unique)
          creates a NDX object and NDX file
 



Copyright © 2007-2011. All Rights Reserved.