joeq.ClassLib.Common.java.io
Class RandomAccessFile

java.lang.Object
  extended by joeq.ClassLib.Common.java.io.RandomAccessFile

public abstract class RandomAccessFile
extends Object

RandomAccessFile

Version:
$Id: RandomAccessFile.java,v 1.13 2004/09/30 03:35:32 joewhaley Exp $
Author:
John Whaley

Constructor Summary
RandomAccessFile()
           
 
Method Summary
 void close()
           
 long getFilePointer()
           
 long length()
           
 void open(String name, boolean writeable)
           
 int read()
           
 void seek(long pos)
           
 void setLength(long newLength)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomAccessFile

public RandomAccessFile()
Method Detail

open

public void open(String name,
                 boolean writeable)
          throws FileNotFoundException
Throws:
FileNotFoundException

read

public int read()
         throws IOException
Throws:
IOException

write

public void write(int b)
           throws IOException
Throws:
IOException

getFilePointer

public long getFilePointer()
                    throws IOException
Throws:
IOException

seek

public void seek(long pos)
          throws IOException
Throws:
IOException

length

public long length()
            throws IOException
Throws:
IOException

setLength

public void setLength(long newLength)
               throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2001-2005 John Whaley. All Rights Reserved.