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.11 2004/01/12 20:19:15 duns Exp $
 
- Author:
 
  - Mark Donszelmann
 
- Source Code:
 - PSFile.java
 
 
 
| 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
- Throws:
 IOException
 
read
public int read()
         throws IOException
- Throws:
 IOException
 
readLine
public String readLine()
                throws IOException
- Throws:
 IOException
 
write
public void write(int b,
                  boolean secure)
           throws IOException
- Throws:
 IOException
 
seek
public void seek(long pos)
          throws IOException
- Throws:
 IOException
 
getFilePointer
public long getFilePointer()
                    throws IOException
- Throws:
 IOException
 
available
public int available()
              throws IOException
- Throws:
 IOException
 
flush
public void flush()
           throws IOException
- Throws:
 IOException
 
reset
public void reset()
           throws IOException
- Throws:
 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-2004 FreeHEP, All Rights Reserved.