php.java.script
Class PhpScriptWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by php.java.script.PhpScriptWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
Direct Known Subclasses:
PhpScriptLogWriter

public class PhpScriptWriter
extends java.io.PrintWriter

A PrintWriter backed by an OutputStream.

Author:
jostb

Constructor Summary
PhpScriptWriter(java.io.OutputStream out)
          Create a new PhpScriptWriter.
 
Method Summary
 void close()
          
 java.io.OutputStream getOutputStream()
          Returns the OutputStream.
 
Methods inherited from class java.io.PrintWriter
append, append, append, append, append, append, append, append, append, checkError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, write, write, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhpScriptWriter

public PhpScriptWriter(java.io.OutputStream out)
Create a new PhpScriptWriter.

Parameters:
out - The OutputStream
Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()
Returns the OutputStream.

Returns:
The OutputStream.

close

public void close()

Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.PrintWriter