org.freehep.postscript
Class PSFile
java.lang.Object
|
+--org.freehep.postscript.PSObject
|
+--org.freehep.postscript.PSComposite
|
+--org.freehep.postscript.PSFile
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- PSInputFile, PSOutputFile, PSRandomAccessFile
- public abstract class PSFile
- extends PSComposite
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSFile.java,v 1.10 2003/11/25 21:49:40 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
Constructor Summary |
protected |
PSFile(String name,
boolean isFilter)
|
Methods inherited from class org.freehep.postscript.PSObject |
checkAndExecute, clone, copy, equals, error, hashCode, isExecutable, isLiteral, setExecutable, setLiteral, setName, toPrint |
filename
protected String filename
filter
protected boolean filter
PSFile
protected PSFile(String name,
boolean isFilter)
execute
public boolean execute(OperandStack os)
- Specified by:
execute
in class PSObject
getType
public String getType()
- Specified by:
getType
in class PSObject
close
public abstract void close()
throws IOException
IOException
read
public int read()
throws IOException
IOException
readLine
public String readLine()
throws IOException
IOException
write
public void write(int b,
boolean secure)
throws IOException
IOException
seek
public void seek(long pos)
throws IOException
IOException
getFilePointer
public long getFilePointer()
throws IOException
IOException
available
public int available()
throws IOException
IOException
flush
public void flush()
throws IOException
IOException
reset
public void reset()
throws IOException
IOException
markSupported
public boolean markSupported()
mark
public void mark(int readLimit)
isValid
public abstract boolean isValid()
cvs
public String cvs()
- Specified by:
cvs
in class PSObject
toString
public String toString()
- Overrides:
toString
in class PSObject
Copyright © 2000-2003 FreeHEP, All Rights Reserved.