com.ibm.jtopenlite.ddm
Class DDMFile

java.lang.Object
  extended by com.ibm.jtopenlite.ddm.DDMFile

public final class DDMFile
extends Object

Represents a handle to a file.


Field Summary
static int READ_ONLY
           
static int READ_WRITE
           
static int WRITE_ONLY
           
 
Method Summary
 int getBufferCount()
          Returns the number of data buffers used for reading records from this file.
 String getFile()
          Returns the name of this file.
 String getLibrary()
          Returns the library in which this file resides.
 String getMember()
          Returns the member name of this file.
 int getReadWriteType()
          Returns the read-write access type used to open this file.
 byte[] getRecordDataBuffer()
          Returns the current data buffer's record data buffer.
 int getRecordLength()
          Returns the record length in bytes of this file.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READ_ONLY

public static final int READ_ONLY
See Also:
Constant Field Values

WRITE_ONLY

public static final int WRITE_ONLY
See Also:
Constant Field Values

READ_WRITE

public static final int READ_WRITE
See Also:
Constant Field Values
Method Detail

getBufferCount

public int getBufferCount()
Returns the number of data buffers used for reading records from this file.


getRecordLength

public int getRecordLength()
Returns the record length in bytes of this file.


getRecordDataBuffer

public byte[] getRecordDataBuffer()
Returns the current data buffer's record data buffer.


getReadWriteType

public int getReadWriteType()
Returns the read-write access type used to open this file.


getLibrary

public String getLibrary()
Returns the library in which this file resides.


getFile

public String getFile()
Returns the name of this file.


getMember

public String getMember()
Returns the member name of this file.


toString

public String toString()
Overrides:
toString in class Object