org.freehep.postscript.types
Class PSRandomAccessFile
java.lang.Object
org.freehep.postscript.types.PSObject
org.freehep.postscript.types.PSComposite
org.freehep.postscript.types.PSFile
org.freehep.postscript.types.PSRandomAccessFile
- All Implemented Interfaces:
- Cloneable
public class PSRandomAccessFile
- extends PSFile
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.types.PSObject |
log, name |
PSRandomAccessFile
protected PSRandomAccessFile(String n,
boolean f,
RandomAccessFile r)
PSRandomAccessFile
public PSRandomAccessFile(String filename,
boolean write,
boolean append,
boolean secure)
throws IOException
- Throws:
IOException
close
public final void close()
throws IOException
- Specified by:
close
in class PSFile
- Throws:
IOException
read
public final int read()
throws IOException
- Overrides:
read
in class PSFile
- Throws:
IOException
readLine
public final String readLine()
throws IOException
- Overrides:
readLine
in class PSFile
- Throws:
IOException
write
public final void write(int b,
boolean secure)
throws IOException
- Overrides:
write
in class PSFile
- Throws:
IOException
seek
public final void seek(long pos)
throws IOException
- Overrides:
seek
in class PSFile
- Throws:
IOException
getFilePointer
public final long getFilePointer()
throws IOException
- Overrides:
getFilePointer
in class PSFile
- Throws:
IOException
available
public final int available()
throws IOException
- Overrides:
available
in class PSFile
- Throws:
IOException
flush
public void flush()
throws IOException
- Overrides:
flush
in class PSFile
- Throws:
IOException
reset
public final void reset()
throws IOException
- Overrides:
reset
in class PSFile
- Throws:
IOException
isValid
public final boolean isValid()
- Specified by:
isValid
in class PSFile
hashCode
public final int hashCode()
- Specified by:
hashCode
in class PSObject
equals
public final boolean equals(Object o)
- Specified by:
equals
in class PSObject
clone
public final Object clone()
throws CloneNotSupportedException
- Specified by:
clone
in class PSObject
- Throws:
CloneNotSupportedException
copy
public final PSObject copy()
- Specified by:
copy
in class PSObject
Copyright © 2001-2009 FreeHEP. All Rights Reserved.