|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use xBaseJException | |
xBaseJ | |
xBaseJ.Client |
Uses of xBaseJException in xBaseJ |
Methods in xBaseJ that throw xBaseJException | |
void |
DateField.put(java.lang.String inValue)
sets field contents by a String parameter. |
void |
DateField.put(java.util.Date inValue)
sets field contents by a Java Date object. |
void |
DateField.put(java.util.Calendar inValue)
sets field contents by a Java Calendar object. |
void |
DateField.put(long inValue)
sets field contents by a long value |
int |
DateField.compareTo(java.util.Calendar compareThis)
public method for comparing a Java Calendar object. |
java.util.Calendar |
DateField.getCalendar()
public method for returing the date field in a Java Calendar object. |
java.lang.String |
DateField.get(int field)
public method for getting individual field values |
void |
DateField.set(int field,
int value)
public method for setting individual field values |
void |
DBF.addField(xBaseJ.Field aField)
adds a new Field to a database |
void |
DBF.addField(xBaseJ.Field[] aField)
adds an array of new Fields to a database |
void |
DBF.lock()
locks the entire database will try 5 times within the fileLockTimeOut specified in xBaseJ.property fileLockTimeOut, default 5000 milliseconds (5 seconds) |
void |
DBF.dropField(xBaseJ.Field aField)
removes a Field from a database NOT FULLY IMPLEMENTED |
void |
DBF.changeField(xBaseJ.Field oldField,
xBaseJ.Field newField)
changes a Field in a database NOT FULLY IMPLEMENTED |
xBaseJ.Index |
DBF.getIndex(int indexPosition)
gets an Index object associated with the database. |
xBaseJ.Index |
DBF.useIndex(java.lang.String filename)
opens an Index file associated with the database. |
xBaseJ.Index |
DBF.useIndex(java.lang.String filename,
java.lang.String ID)
opens an Index file associated with the database |
xBaseJ.Index |
DBF.useIndex(xBaseJ.Index ndx)
used to indicate the primary Index |
xBaseJ.Index |
DBF.useIndexByID(java.lang.String ID)
used to indicate the primary Index. |
xBaseJ.Index |
DBF.useTag(java.lang.String tagname)
associates all Index operations with an existing tag. |
xBaseJ.Index |
DBF.useTag(java.lang.String tagname,
java.lang.String ID)
associates all Index operations with an existing tag. |
xBaseJ.Index |
DBF.createIndex(java.lang.String filename,
java.lang.String index,
boolean unique)
creates a new Index as a NDX file, assumes NDX file does not exist. |
xBaseJ.Index |
DBF.createIndex(java.lang.String filename,
java.lang.String index,
boolean destroy,
boolean unique)
creates a new Index as a NDX file. |
xBaseJ.Index |
DBF.createTag(java.lang.String tagname,
java.lang.String tagIndex,
boolean unique)
creates a tag in the MDX file. |
boolean |
DBF.find(java.lang.String keyString,
boolean lock)
used to find a record with an equal or greater string value. |
boolean |
DBF.find(java.lang.String keyString)
used to find a record with an equal or greater string value. |
boolean |
DBF.findExact(java.lang.String keyString,
boolean lock)
used to find a record with an equal string value. |
boolean |
DBF.findExact(java.lang.String keyString)
used to find a record with an equal string value. |
void |
DBF.findNext(boolean lock)
used to get the next record in the index list. |
void |
DBF.findNext()
used to get the next record in the index list. |
void |
DBF.findPrev(boolean lock)
used to get the previous record in the index list. |
void |
DBF.findPrev()
used to get the previous record in the index list. |
void |
DBF.read(boolean lock)
used to read the next record, after the current record pointer, in the database. |
void |
DBF.read()
used to read the next record, after the current record pointer, in the database. |
void |
DBF.readPrev(boolean lock)
used to read the previous record, before the current record pointer, in the database. |
void |
DBF.readPrev()
used to read the previous record, before the current record pointer, in the database. |
void |
DBF.gotoRecord(int recno,
boolean lock)
used to read a record at a particular place in the database. |
void |
DBF.gotoRecord(int recno)
used to read a record at a particular place in the database. |
void |
DBF.startTop()
used to position record pointer at the first record or index in the database. |
void |
DBF.startBottom()
used to position record pointer at the last record or index in the database. |
void |
DBF.write(boolean lock)
used to write a new record in the database. |
void |
DBF.write()
used to write a new record in the database. |
void |
DBF.update(boolean lock)
updates the record at the current position. |
void |
DBF.update()
updates the record at the current position. |
void |
DBF.delete()
marks the current records as deleted. |
void |
DBF.undelete()
marks the current records as not deleted. |
xBaseJ.Field |
DBF.getField(int i)
returns a Field object by its relative position. |
xBaseJ.Field |
DBF.getField(java.lang.String name)
returns a Field object by its name in the database. |
void |
DBF.pack()
packs a DBF by removing deleted records and memo fields. |
java.io.File |
DBF.getXML(java.lang.String inFileName)
generates an xml string representation using xbase.dtd |
char |
Field.type()
Deprecated. use getType |
char |
Field.getType()
|
void |
Field.put(java.lang.String inValue)
set field contents, no database updates until a DBF 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 |
FloatField.put(java.lang.String inValue)
sets the field contents. |
void |
FloatField.put(long inValue)
sets the field contents. |
void |
FloatField.put(int inValue)
sets the field contents. |
void |
FloatField.put(float inValue)
sets the field contents. |
void |
FloatField.put(double inValue)
sets the field contents. |
abstract void |
Index.reIndex()
|
java.lang.String |
Index.buildKey()
|
void |
LogicalField.put(java.lang.String inValue)
allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false |
void |
LogicalField.put(char inValue)
allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false |
java.lang.String |
Message.getField(java.lang.String ID)
|
java.lang.String |
Message.getField(int pos)
|
void |
NumField.put(java.lang.String inValue)
sets the field contents. |
void |
NumField.put(long inValue)
sets the field contents. |
void |
NumField.put(int inValue)
sets the field contents. |
void |
NumField.put(float inValue)
sets the field contents. |
void |
NumField.put(double inValue)
sets the field contents. |
void |
PictureField.put(java.lang.String invalue)
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 |
PictureField.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. |
static void |
Server.main(java.lang.String[] args)
main for Server the format of the catalog file (sever dbf) is: id - the name of the DBF in which the client will access the DBF file name - the actual system name of the DBF relation - used for NDX Tags are not defined in the dbfs.dbf file FAQ - how do I define databases in the DBFS.DBF file = use DBFShow. |
Constructors in xBaseJ that throw xBaseJException | |
CharField(java.lang.String iName,
int iLength)
public method for creating a CharacterField object. |
|
DateField(java.lang.String iName)
public method for creating a DateField object. |
|
DBF(java.lang.String DBFname,
boolean destroy)
creates a new DBF file or replaces an existing database file, w/o format assumes dbaseiii file format. |
|
DBF(java.lang.String DBFname,
int format,
boolean destroy)
creates a new DBF file or replaces an existing database file. |
|
DBF(java.lang.String DBFname,
char readOnly)
creates an DBF object and opens existing database file in readonly mode. |
|
DBF(java.lang.String DBFname)
creates an DBF object and opens existing database file in read/write mode. |
|
DBF(java.lang.String DBFname,
boolean destroy,
java.lang.String inEncodeType)
creates a new DBF file or replaces an existing database file, w/o format assumes dbaseiii file format. |
|
DBF(java.lang.String DBFname,
int format,
boolean destroy,
java.lang.String inEncodeType)
creates a new DBF file or replaces an existing database file. |
|
DBF(java.lang.String DBFname,
char readOnly,
java.lang.String inEncodeType)
creates an DBF object and opens existing database file in readonly mode. |
|
DBF(java.lang.String DBFname,
java.lang.String inEncodeType)
creates an DBF object and opens existing database file in read/write mode. |
|
FloatField(java.lang.String iName,
int iLength,
int DecPoint)
public method for creating a numeric field object. |
|
LogicalField(java.lang.String iName)
public method for creating a LogicalField object. |
|
MemoField(java.lang.String iName)
public method for creating a memo field object. |
|
MemoField(java.lang.String iName,
boolean inFoxPro)
public method for creating a FoxPro memo field object. |
|
Message(java.io.DataInputStream InStream)
creates a message class used by the client/server objects |
|
NumField(java.lang.String iName,
int iLength,
int inDecPosition)
public method for creating a numeric field object. |
|
PictureField(java.lang.String iName)
public method for creating a memo field object. |
Uses of xBaseJException in xBaseJ.Client |
Methods in xBaseJ.Client that throw xBaseJException | |
void |
DateField.put(java.lang.String inValue)
sets field contents by a String parameter. |
void |
DateField.put(java.util.Calendar inValue)
sets field contents by a Java Calendar object. |
void |
DateField.put(long inValue)
sets field contents by a long value |
void |
DBF.setLock(boolean lockSwitch)
locks/unlocks the whole table |
void |
DBF.setRecordLock(boolean lockSwitch)
locks/unlocks the current record. |
void |
DBF.useIndex(java.lang.String name)
opens an index associated with the database |
void |
DBF.useTag(java.lang.String name)
assigns Tag associated with the database used in find, findnext and findprev Tags are not defined in the dbfs.dbf file |
boolean |
DBF.find(java.lang.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 |
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.findPrev()
used to get the previous record in the Index list when done the record pointer and field contents 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.startBottom()
used to position record pointer at the last record or index in the database when done the record pointer will be changed. |
int |
DBF.reccount()
Deprecated. use getRecordCount |
int |
DBF.getRecordCount()
|
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.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.gotoRecord(long 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.write()
used to write a new record in the database when done the record pointer is at the end of the database |
void |
DBF.update()
updates the record at the current position |
void |
DBF.delete()
marks the current records as deleted |
void |
DBF.undelete()
marks the current records as not deleted |
void |
DBF.close()
closes the database NOT FULLY IMPLEMENTED |
xBaseJ.Client.Field |
DBF.getField(int i)
|
xBaseJ.Client.Field |
DBF.getField(java.lang.String name)
|
boolean |
DBF.deleted()
|
char |
Field.type()
Deprecated. use getType |
char |
Field.getType()
|
void |
Field.put(java.lang.String inValue)
set field contents, no database updates until a DBF update or write is issued |
void |
LogicalField.put(java.lang.String inValue)
allows input of Y, y, T, t and 1 for true, N, n, F, f, and 0 for false |
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 |
NumField.put(java.lang.String inValue)
sets the field contents. |
void |
NumField.put(long inValue)
sets the field contents. |
void |
NumField.put(double inValue)
sets the field contents. |
Constructors in xBaseJ.Client that throw xBaseJException | |
DBF(java.lang.String inDBFname,
java.lang.String inhost,
int inport,
boolean stayConnected)
opens a DBF at the server |
|
DBF(java.lang.String inDBFname,
java.lang.String inhost,
int inport)
opens a DBF at the server |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |