org.opengts.war.tools
Class OutputProvider

java.lang.Object
  extended by org.opengts.war.tools.OutputProvider

public class OutputProvider
extends java.lang.Object


Constructor Summary
OutputProvider()
           
OutputProvider(java.lang.Object provider)
           
OutputProvider(java.io.OutputStream stream)
           
OutputProvider(java.io.PrintWriter writer)
           
 
Method Summary
 java.io.OutputStream getOutputStream()
           
 java.io.PrintWriter getWriter()
           
 boolean hasOutputStream()
           
 boolean hasWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputProvider

public OutputProvider()

OutputProvider

public OutputProvider(java.lang.Object provider)

OutputProvider

public OutputProvider(java.io.OutputStream stream)

OutputProvider

public OutputProvider(java.io.PrintWriter writer)
Method Detail

hasOutputStream

public boolean hasOutputStream()

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException,
                                            java.lang.IllegalStateException
Throws:
java.io.IOException
java.lang.IllegalStateException

hasWriter

public boolean hasWriter()

getWriter

public java.io.PrintWriter getWriter()
                              throws java.io.IOException,
                                     java.lang.IllegalStateException
Throws:
java.io.IOException
java.lang.IllegalStateException