public class TableCharacterAdapter extends java.lang.Object implements TableAdapter
| Constructor and Description |
|---|
TableCharacterAdapter(TableCharacter table)
Creates a new instance for a particular table.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDescription |
getField(int index)
Returns the field at a given index.
|
int |
getFieldCount()
Gets the number of fields in each record.
|
char |
getFieldDelimiter()
Gets the field delimiter.
|
FieldDescription[] |
getFields()
Gets the definitions of fields from the table.
|
java.util.List<FieldDescription> |
getFieldsList()
Gets the definitions of fields from the table.
|
int |
getMaximumRecordLength()
Gets the maximum length of each record.
|
long |
getOffset()
Gets the offset into the data file where the table starts.
|
long |
getRecordCount()
Gets the number of records in the table.
|
java.lang.String |
getRecordDelimiter()
Gets the record delimiter.
|
int |
getRecordLength()
Gets the length of each record.
|
public TableCharacterAdapter(TableCharacter table) throws InvalidTableException
table - the tableInvalidTableExceptionpublic long getRecordCount()
TableAdaptergetRecordCount in interface TableAdapterpublic int getFieldCount()
TableAdaptergetFieldCount in interface TableAdapterpublic FieldDescription getField(int index)
TableAdaptergetField in interface TableAdapterindex - the field indexpublic FieldDescription[] getFields()
TableAdaptergetFields in interface TableAdapterpublic long getOffset()
TableAdaptergetOffset in interface TableAdapterpublic int getRecordLength()
TableAdaptergetRecordLength in interface TableAdapterpublic java.lang.String getRecordDelimiter()
TableAdaptergetRecordDelimiter in interface TableAdapterpublic char getFieldDelimiter()
TableAdaptergetFieldDelimiter in interface TableAdapterpublic java.util.List<FieldDescription> getFieldsList()
TableAdaptergetFieldsList in interface TableAdapterpublic int getMaximumRecordLength()
TableAdaptergetMaximumRecordLength in interface TableAdapterCopyright © 2022 Planetary Data System. All rights reserved.