org.jclarion.clarion.file
Class ClarionRandomAccessFileSystemFile

java.lang.Object
  extended by org.jclarion.clarion.ClarionRandomAccessFile
      extended by org.jclarion.clarion.file.ClarionRandomAccessFileSystemFile

public class ClarionRandomAccessFileSystemFile
extends ClarionRandomAccessFile


Constructor Summary
ClarionRandomAccessFileSystemFile(java.io.File file)
           
 
Method Summary
 void close()
           
 java.lang.String getName()
           
 long length()
           
 long position()
           
 int read(byte[] getBuffer, int i, int read)
           
 void seek(long l)
           
 void write(byte[] bytes, int i, int size)
           
 
Methods inherited from class org.jclarion.clarion.ClarionRandomAccessFile
getCharFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClarionRandomAccessFileSystemFile

public ClarionRandomAccessFileSystemFile(java.io.File file)
                                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in class ClarionRandomAccessFile
Throws:
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in class ClarionRandomAccessFile

length

public long length()
            throws java.io.IOException
Specified by:
length in class ClarionRandomAccessFile
Throws:
java.io.IOException

read

public int read(byte[] getBuffer,
                int i,
                int read)
         throws java.io.IOException
Specified by:
read in class ClarionRandomAccessFile
Throws:
java.io.IOException

seek

public void seek(long l)
          throws java.io.IOException
Specified by:
seek in class ClarionRandomAccessFile
Throws:
java.io.IOException

write

public void write(byte[] bytes,
                  int i,
                  int size)
           throws java.io.IOException
Specified by:
write in class ClarionRandomAccessFile
Throws:
java.io.IOException

position

public long position()
              throws java.io.IOException
Specified by:
position in class ClarionRandomAccessFile
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.