Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.flexdbserver.services.typer
Class TyperBinaryFile  view TyperBinaryFile download TyperBinaryFile.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.typer.TyperBinaryFile
Direct Known Subclasses:
TyperFile

public class TyperBinaryFile
extends java.lang.Object

Provide binary file access


Field Summary
protected  boolean bError
           
protected  long nFileLength
           
protected  java.io.RandomAccessFile refRandomAccessFile
           
static java.lang.String sVersion
           
 
Constructor Summary
TyperBinaryFile(java.lang.String sFileName)
          Constructor - Open the specified binary file input stream.
 
Method Summary
 boolean closeFile()
           
 boolean getErrorStatus()
           
 long getLength()
           
protected  java.io.RandomAccessFile openFile(java.lang.String sName)
           
 int readBytes(byte[] anBytes, int nOffset, int nNumToRead)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sVersion

public static java.lang.String sVersion

refRandomAccessFile

protected java.io.RandomAccessFile refRandomAccessFile

bError

protected boolean bError

nFileLength

protected long nFileLength
Constructor Detail

TyperBinaryFile

public TyperBinaryFile(java.lang.String sFileName)
Constructor - Open the specified binary file input stream.

Method Detail

openFile

protected java.io.RandomAccessFile openFile(java.lang.String sName)

readBytes

public int readBytes(byte[] anBytes,
                     int nOffset,
                     int nNumToRead)

closeFile

public boolean closeFile()

getErrorStatus

public boolean getErrorStatus()

getLength

public long getLength()