org.jclarion.clarion
Class ClarionRandomAccessFile

java.lang.Object
  extended by org.jclarion.clarion.ClarionRandomAccessFile
Direct Known Subclasses:
ClarionRandomAccessFileSystemFile, MemoryFile, PDFFile, RingBufferedInputStreamClarionFile

public abstract class ClarionRandomAccessFile
extends java.lang.Object


Constructor Summary
ClarionRandomAccessFile()
           
 
Method Summary
abstract  void close()
           
 ClarionRandomAccessCharFile getCharFile()
           
abstract  java.lang.String getName()
           
abstract  long length()
           
abstract  long position()
           
abstract  int read(byte[] get_buffer, int i, int read)
           
abstract  void seek(long l)
           
abstract  void write(byte[] bytes, int i, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClarionRandomAccessFile

public ClarionRandomAccessFile()
Method Detail

length

public abstract long length()
                     throws java.io.IOException
Throws:
java.io.IOException

position

public abstract long position()
                       throws java.io.IOException
Throws:
java.io.IOException

close

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

seek

public abstract void seek(long l)
                   throws java.io.IOException
Throws:
java.io.IOException

read

public abstract int read(byte[] get_buffer,
                         int i,
                         int read)
                  throws java.io.IOException
Throws:
java.io.IOException

write

public abstract void write(byte[] bytes,
                           int i,
                           int size)
                    throws java.io.IOException
Throws:
java.io.IOException

getName

public abstract java.lang.String getName()

getCharFile

public ClarionRandomAccessCharFile getCharFile()


Copyright © 2010. All Rights Reserved.