org.freehep.postscript
Class PSInputFile
java.lang.Object
|
+--org.freehep.postscript.PSObject
|
+--org.freehep.postscript.PSComposite
|
+--org.freehep.postscript.PSFile
|
+--org.freehep.postscript.PSInputFile
- All Implemented Interfaces:
- Cloneable, PSDataSource, PSTokenizable
- public class PSInputFile
- extends PSFile
- implements PSTokenizable, PSDataSource
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSInputFile.java,v 1.9 2003/11/25 21:49:40 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
in
protected InputStream in
scanner
protected Scanner scanner
PSInputFile
protected PSInputFile(String n,
boolean f,
InputStream i,
Scanner s)
PSInputFile
public PSInputFile(InputStream input)
throws IOException
PSInputFile
public PSInputFile(String filename)
throws FileNotFoundException,
IOException
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interface PSDataSource
token
public PSObject token(boolean packingMode,
NameLookup lookup)
throws IOException,
SyntaxException,
NameNotFoundException
- Specified by:
token
in interface PSTokenizable
IOException
SyntaxException
NameNotFoundException
execute
public boolean execute(OperandStack os)
- Overrides:
execute
in class PSFile
close
public void close()
throws IOException
- Specified by:
close
in class PSFile
IOException
read
public int read()
throws IOException
- Specified by:
read
in interface PSDataSource
- Overrides:
read
in class PSFile
IOException
readLine
public String readLine()
throws IOException
- Overrides:
readLine
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
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class PSFile
mark
public void mark(int readLimit)
- Overrides:
mark
in class PSFile
reset
public void reset()
throws IOException
- Specified by:
reset
in interface PSDataSource
- 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-2003 FreeHEP, All Rights Reserved.