A B C D E F G H I N O P R S T U V

A

addRecord(Object...) - Method in class nl.knaw.dans.common.dbflib.Table
Constructs and adds a record.
addRecord(Record) - Method in class nl.knaw.dans.common.dbflib.Table
Adds a record to this table.
addTable(String, List<Field>) - Method in class nl.knaw.dans.common.dbflib.Database
Adds a new Table object to the set of Tables maintained by this Database object and returns it.

B

BooleanValue - Class in nl.knaw.dans.common.dbflib
Represents a boolean value in a record.
BooleanValue(Boolean) - Constructor for class nl.knaw.dans.common.dbflib.BooleanValue
Creates a new BooleanValue object.
ByteArrayValue - Class in nl.knaw.dans.common.dbflib
Represents a binary value in a record.
ByteArrayValue(byte[]) - Constructor for class nl.knaw.dans.common.dbflib.ByteArrayValue
Creates a new ByteArrayValue object.

C

close() - Method in class nl.knaw.dans.common.dbflib.Table
Closes this table for reading and writing.
CorruptedTableException - Exception in nl.knaw.dans.common.dbflib
Thrown to indicate that a table did not comply with the supported versions of the DBF file format.

D

Database - Class in nl.knaw.dans.common.dbflib
Represents an xBase database.
Database(File, Version) - Constructor for class nl.knaw.dans.common.dbflib.Database
Creates a new Database object.
Database(File, Version, String) - Constructor for class nl.knaw.dans.common.dbflib.Database
Creates a new Database object.
DataMismatchException - Exception in nl.knaw.dans.common.dbflib
Thrown to indicate that the data provided cannot be written to the database.
DateValue - Class in nl.knaw.dans.common.dbflib
Represents a Date value in a record.
DateValue(Date) - Constructor for class nl.knaw.dans.common.dbflib.DateValue
Creates a new DateValue object.
DbfLibException - Exception in nl.knaw.dans.common.dbflib
Base class for all DANS DBF Library expections.
DbfLibException(String) - Constructor for exception nl.knaw.dans.common.dbflib.DbfLibException
 
delete() - Method in class nl.knaw.dans.common.dbflib.Table
Closes and deletes the underlying table file and associated files.
deleteRecordAt(int) - Method in class nl.knaw.dans.common.dbflib.Table
Flags the record at index as "deleted".
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.BooleanValue
 
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.ByteArrayValue
 
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.DateValue
 
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.NumberValue
 
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.StringValue
 
doGetRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.Value
Converts the typed value to a byte array, according to the field specifications provided.
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.BooleanValue
 
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.ByteArrayValue
 
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.DateValue
 
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.NumberValue
 
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.StringValue
 
doGetTypedValue(byte[]) - Method in class nl.knaw.dans.common.dbflib.Value
Converts the raw bytes to a Java object.

E

equals(Object) - Method in class nl.knaw.dans.common.dbflib.Field
 

F

Field - Class in nl.knaw.dans.common.dbflib
Represents a field description in a table.
Field(String, Type) - Constructor for class nl.knaw.dans.common.dbflib.Field
Creates a new Field object.
Field(String, Type, int) - Constructor for class nl.knaw.dans.common.dbflib.Field
Creates a new Field object.
Field(String, Type, int, int) - Constructor for class nl.knaw.dans.common.dbflib.Field
Creates a new Field object.

G

getBooleanValue(String) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the specified value as a Boolean object.
getCharsetName() - Method in class nl.knaw.dans.common.dbflib.Database
Returns the name of the character set to use when reading from and writing to database files.
getCharsetName() - Method in class nl.knaw.dans.common.dbflib.Table
Returns the name of the character set used to read and write from/to this table file.
getDateValue(String) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the specified value as a Date object.
getDecimalCount() - Method in class nl.knaw.dans.common.dbflib.Field
Returns the decimal count of the field, or -1 if not applicable
getFields() - Method in class nl.knaw.dans.common.dbflib.Table
Returns a List of Field objects, which provide a description of each field (column) in the table.
getLastModifiedDate() - Method in class nl.knaw.dans.common.dbflib.Table
Returns the date on which this table was last modified.
getLength() - Method in class nl.knaw.dans.common.dbflib.Field
Returns the length of the field, or -1 if not applicable
getName() - Method in class nl.knaw.dans.common.dbflib.Field
Returns the name of the field.
getName() - Method in class nl.knaw.dans.common.dbflib.Table
Returns the name of the table, including the extension.
getNumberValue(String) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the value of the specified field as a Number.
getRawValue(Field) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the raw field value.
getRecordAt(int) - Method in class nl.knaw.dans.common.dbflib.Table
Returns the record at index.
getRecordCount() - Method in class nl.knaw.dans.common.dbflib.Table
Returns the record count.
getStringValue(String) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the specified value as a java.lang.String object.
getTable(String) - Method in class nl.knaw.dans.common.dbflib.Database
Returns the Table object with the specified name or null if it has not been added yet.
getTableNames() - Method in class nl.knaw.dans.common.dbflib.Database
Returns an unmodifiable Set of table names.
getType() - Method in class nl.knaw.dans.common.dbflib.Field
Returns the type of the field
getTypedValue(String) - Method in class nl.knaw.dans.common.dbflib.Record
Returns the value as a Java object.
getVersion() - Method in class nl.knaw.dans.common.dbflib.Table
Returns the version of DBF use to write to the table file.

H

hashCode() - Method in class nl.knaw.dans.common.dbflib.Field
 

I

IfNonExistent - Enum in nl.knaw.dans.common.dbflib
Enumerates the alternative actions to be taken if a file does not exist.
InvalidFieldLengthException - Exception in nl.knaw.dans.common.dbflib
Thrown when trying to add a Field with and invalid length to a Table.
InvalidFieldTypeException - Exception in nl.knaw.dans.common.dbflib
Thrown when trying to add a Field to a Table when it is not supported by the Version specified.
isMarkedDeleted() - Method in class nl.knaw.dans.common.dbflib.Record
Returns whether the record is marked deleted in the database.

N

nl.knaw.dans.common.dbflib - package nl.knaw.dans.common.dbflib
DANS DBF Library or dans-dbf-lib is a library to read and write DBF files.
NumberValue - Class in nl.knaw.dans.common.dbflib
Represents a number value in a record.
NumberValue(Number) - Constructor for class nl.knaw.dans.common.dbflib.NumberValue
Creates a new NumberValue object.

O

open() - Method in class nl.knaw.dans.common.dbflib.Table
Opens the table for reading and writing.
open(IfNonExistent) - Method in class nl.knaw.dans.common.dbflib.Table
Opens the table for reading and writing.

P

pack() - Method in class nl.knaw.dans.common.dbflib.Table
Physically remove the records currently flagged as "deleted".

R

Record - Class in nl.knaw.dans.common.dbflib
Represents a record in a table.
Record(Map<String, Value>) - Constructor for class nl.knaw.dans.common.dbflib.Record
Creates a new Record object.
recordIterator() - Method in class nl.knaw.dans.common.dbflib.Table
Returns a Record iterator.
recordIterator(boolean) - Method in class nl.knaw.dans.common.dbflib.Table
Returns a Record iterator.
RecordTooLargeException - Exception in nl.knaw.dans.common.dbflib
Thrown when trying to add a record with more fields than are defined in the table file.
removeTable(String) - Method in class nl.knaw.dans.common.dbflib.Database
Removes a Table object from the list of Table objects maintained by this Database object.
removeTable(Table) - Method in class nl.knaw.dans.common.dbflib.Database
Removes a Table object from the list of Table objects maintained by this Database object.

S

StringValue - Class in nl.knaw.dans.common.dbflib
Represents a string value in a record (a CHARACTER or MEMO type field value).
StringValue(String, String) - Constructor for class nl.knaw.dans.common.dbflib.StringValue
Creates a new StringValue object.
StringValue(String) - Constructor for class nl.knaw.dans.common.dbflib.StringValue
Creates a new string value that uses the platform's default character set.

T

Table - Class in nl.knaw.dans.common.dbflib
Represents a single table in a xBase database.
Table(File) - Constructor for class nl.knaw.dans.common.dbflib.Table
Creates a new Table object.
Table(File, String) - Constructor for class nl.knaw.dans.common.dbflib.Table
Creates a new Table object.
Table(File, Version, List<Field>, String) - Constructor for class nl.knaw.dans.common.dbflib.Table
Creates a new Table object.
Table(File, Version, List<Field>) - Constructor for class nl.knaw.dans.common.dbflib.Table
As Table.Table(File, Version, List, String) but uses the platform's default character set.
Type - Enum in nl.knaw.dans.common.dbflib
Enumeration of the field types available in an xBase database.
typed - Variable in class nl.knaw.dans.common.dbflib.Value
 

U

updateRecordAt(int, Record) - Method in class nl.knaw.dans.common.dbflib.Table
 

V

Value - Class in nl.knaw.dans.common.dbflib
Represents a value that can be stored in a record.
Value(Field, byte[]) - Constructor for class nl.knaw.dans.common.dbflib.Value
Constructs a Value object with the specified raw value.
Value(Object) - Constructor for class nl.knaw.dans.common.dbflib.Value
Constructs a Value object with the specified typed value, i.e.
valueOf(String) - Static method in enum nl.knaw.dans.common.dbflib.IfNonExistent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.knaw.dans.common.dbflib.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.knaw.dans.common.dbflib.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.knaw.dans.common.dbflib.IfNonExistent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.knaw.dans.common.dbflib.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.knaw.dans.common.dbflib.Version
Returns an array containing the constants of this enum type, in the order they are declared.
ValueTooLargeException - Exception in nl.knaw.dans.common.dbflib
Thrown when trying to add a record that contains values that are too large for their designated fields.
Version - Enum in nl.knaw.dans.common.dbflib
Enumerates the supported table versions.

A B C D E F G H I N O P R S T U V

Copyright © 2009-2012 DANS. All Rights Reserved.