org.freehep.postscript
Class PSRandomAccessFile
java.lang.Object
|
+--org.freehep.postscript.PSObject
|
+--org.freehep.postscript.PSComposite
|
+--org.freehep.postscript.PSFile
|
+--org.freehep.postscript.PSRandomAccessFile
- All Implemented Interfaces:
- Cloneable
- public class PSRandomAccessFile
- extends PSFile
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSRandomAccessFile.java,v 1.4 2001/06/19 09:39:25 duns Exp $
- Author:
- Mark Donszelmann
| Fields inherited from class org.freehep.postscript.PSObject |
name |
raf
protected RandomAccessFile raf
write
protected boolean write
append
protected boolean append
PSRandomAccessFile
protected PSRandomAccessFile(String n,
boolean f,
RandomAccessFile r)
PSRandomAccessFile
public PSRandomAccessFile(String filename,
boolean write,
boolean append,
boolean secure)
throws FileNotFoundException,
IOException
close
public void close()
throws IOException
- Specified by:
close in class PSFile
IOException
read
public int read()
throws IOException
- Overrides:
read in class PSFile
IOException
readLine
public String readLine()
throws IOException
- Overrides:
readLine in class PSFile
IOException
write
public void write(int b,
boolean secure)
throws IOException
- Overrides:
write in class PSFile
IOException
seek
public void seek(long pos)
throws IOException
- Overrides:
seek in class PSFile
IOException
getFilePointer
public long getFilePointer()
throws IOException
- Overrides:
getFilePointer in class PSFile
IOException
available
public int available()
throws IOException
- Overrides:
available in class PSFile
IOException
flush
public void flush()
throws IOException
- Overrides:
flush in class PSFile
IOException
reset
public void reset()
throws IOException
- Overrides:
reset in class PSFile
IOException
isValid
public boolean isValid()
- Specified by:
isValid in class PSFile
hashCode
public int hashCode()
- Specified by:
hashCode in class PSObject
equals
public boolean equals(Object o)
- Specified by:
equals in class PSObject
clone
public Object clone()
- Specified by:
clone in class PSObject
copy
public PSObject copy()
- Specified by:
copy in class PSObject
Copyright © 2000-2002 FreeHEP, All Rights Reserved.