|
||||||||
PREV NEXT | FRAMES NO FRAMES |
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(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.dropField(Field aField)
removes a Field from a database NOT FULLY IMPLEMENTED |
void |
DBF.changeField(Field oldField,
Field newField)
changes a Field in a database NOT FULLY IMPLEMENTED |
Index |
DBF.getIndex(int indexPosition)
gets an Index object associated with the database. |
Index |
DBF.useIndex(java.lang.String filename)
opens an Index file associated with the database. |
Index |
DBF.useIndex(java.lang.String filename,
java.lang.String ID)
opens an Index file associated with the database |
Index |
DBF.useIndex(Index ndx)
used to indicate the primary Index |
Index |
DBF.useIndexByID(java.lang.String ID)
used to indicate the primary Index |
Index |
DBF.useTag(java.lang.String tagname)
associates all Index operations with an existing tag |
Index |
DBF.useTag(java.lang.String tagname,
java.lang.String ID)
associates all Index operations with an existing tag |
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 |
Index |
DBF.createIndex(java.lang.String filename,
java.lang.String index,
boolean destroy,
boolean unique)
creates a new Index as a NDX file |
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)
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.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(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.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. |
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 |
Field |
DBF.getField(int i)
returns a Field object by its relative position |
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 |
void |
DBF.setFieldEvaluation(java.lang.String evalString)
|
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 |
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. |
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 (DBFs.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.CharField(java.lang.String iName,
int iLength)
public method for creating a CharacterField object. |
|
DateField.DateField(java.lang.String iName)
public method for creating a DateField object. |
|
DBF.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.DBF(java.lang.String DBFname,
int format,
boolean destroy)
creates a new DBF file or replaces an existing database file |
|
DBF.DBF(java.lang.String DBFname,
char readOnly)
creates an DBF object and opens existing database file in readonly mode |
|
DBF.DBF(java.lang.String DBFname)
creates an DBF object and opens existing database file in read/write mode |
|
FloatField.FloatField(java.lang.String iName,
int iLength,
int DecPoint)
public method for creating a numeric field object. |
|
LogicalField.LogicalField(java.lang.String iName)
public method for creating a LogicalField object. |
|
MemoField.MemoField(java.lang.String iName)
public method for creating a memo field object. |
|
Message.Message(java.io.DataInputStream InStream)
creates a message class used by the client/server objects |
|
NumField.NumField(java.lang.String iName,
int iLength,
int inDecPosition)
public method for creating a numeric field object. |
|
PictureField.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 |
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 |
Field |
DBF.getField(int i)
|
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.DBF(java.lang.String inDBFname,
java.lang.String inhost,
int inport)
opens a DBF at the server |
|
||||||||
PREV NEXT | FRAMES NO FRAMES |