com.partnersoft.v3x.io.formats
Class DBFRecordSet

java.lang.Object
  extended by com.partnersoft.v3x.io.formats.DBFRecordSet

public class DBFRecordSet
extends java.lang.Object


Field Summary
static char CHARACTER
           
static char DATE
           
static char FLOAT
           
static char MEMO
           
static char NUMERIC
           
 
Constructor Summary
DBFRecordSet(java.lang.String filename)
           
 
Method Summary
 void close()
           
 DBFFieldDescriptor getField(java.lang.String fieldName)
           
 java.util.Map getFields()
           
 java.lang.Object getFieldValue(int recordNum, DBFFieldDescriptor descriptor)
           
 java.lang.Object getFieldValue(int recordNum, java.lang.String fieldName)
           
 long getNumRecords()
           
 long getSize()
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARACTER

public static final char CHARACTER
See Also:
Constant Field Values

DATE

public static final char DATE
See Also:
Constant Field Values

FLOAT

public static final char FLOAT
See Also:
Constant Field Values

NUMERIC

public static final char NUMERIC
See Also:
Constant Field Values

MEMO

public static final char MEMO
See Also:
Constant Field Values
Constructor Detail

DBFRecordSet

public DBFRecordSet(java.lang.String filename)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] argv)

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

getFields

public java.util.Map getFields()

getNumRecords

public long getNumRecords()

getSize

public long getSize()

getField

public DBFFieldDescriptor getField(java.lang.String fieldName)

getFieldValue

public java.lang.Object getFieldValue(int recordNum,
                                      java.lang.String fieldName)
                               throws java.io.IOException
Throws:
java.io.IOException

getFieldValue

public java.lang.Object getFieldValue(int recordNum,
                                      DBFFieldDescriptor descriptor)
                               throws java.io.IOException
Throws:
java.io.IOException