org.freehep.postscript.types
Class PSOutputFile
java.lang.Object
org.freehep.postscript.types.PSObject
org.freehep.postscript.types.PSComposite
org.freehep.postscript.types.PSFile
org.freehep.postscript.types.PSOutputFile
- All Implemented Interfaces:
- Cloneable, PSDataTarget
public class PSOutputFile
- extends PSFile
- implements PSDataTarget
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 |
PSOutputFile
protected PSOutputFile(String n,
boolean f,
OutputStream o)
PSOutputFile
public PSOutputFile(OutputStream output)
throws IOException
- Throws:
IOException
PSOutputFile
public PSOutputFile(String filename,
boolean append,
boolean secure)
throws IOException
- Throws:
IOException
getOutputStream
public final OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface PSDataTarget
close
public final void close()
throws IOException
- Specified by:
close
in class PSFile
- Throws:
IOException
write
public final void write(int b,
boolean secure)
throws IOException
- Specified by:
write
in interface PSDataTarget
- Overrides:
write
in class PSFile
- Throws:
IOException
flush
public final void flush()
throws IOException
- Overrides:
flush
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.