org.foray.render.pcl
Class PCLStream

java.lang.Object
  extended by org.foray.render.pcl.PCLStream

public class PCLStream
extends Object

Specialized output stream used by PCLRenderer.


Constructor Summary
PCLStream(OutputStream os)
          Constructor.
 
Method Summary
 void add(String str)
          Writes a given String to the output stream, handling any necessary conversions.
 void setDoOutput(boolean doout)
          Indicates whether anything should actually be written to this stream or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCLStream

public PCLStream(OutputStream os)
Constructor.

Parameters:
os - The encapsulated OutputStream.
Method Detail

add

public void add(String str)
Writes a given String to the output stream, handling any necessary conversions.

Parameters:
str - The String to be written.

setDoOutput

public void setDoOutput(boolean doout)
Indicates whether anything should actually be written to this stream or not.

Parameters:
doout - Set to true if output should be created, false if not.


Copyright © 2017. All rights reserved.