org.foray.ps
Class PsInputFile
java.lang.Object
org.foray.ps.PsInputFile
- All Implemented Interfaces:
- org.axsl.ps.PsInput
public class PsInputFile
- extends Object
- implements org.axsl.ps.PsInput
An implementation of PsInput that wraps a java.io.File instance.
- Author:
- Jeremias Maerki
- See Also:
PsInput
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PsInputFile
public PsInputFile(File psFile)
throws IOException
- Basic constructor.
- Parameters:
psFile
- The File instance that should be used as standard input
to the PsInterpreter.
- Throws:
IOException
- If the file cannot be opened for use.
providePostScriptInput
public byte[] providePostScriptInput()
throws IOException
- Specified by:
providePostScriptInput
in interface org.axsl.ps.PsInput
- Throws:
IOException
Copyright © 2017. All rights reserved.