infranet
Class EmbeddedDataStream

java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
infranet.EmbeddedDataStream
- public class EmbeddedDataStream
- extends javax.servlet.ServletOutputStream
| Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmdList
private static java.util.Collection cmdList
program
private static java.lang.String program
workDir
private static java.lang.String workDir
stegOut
private static java.io.File stegOut
success
private boolean success
closed
private boolean closed
in
private java.io.OutputStream in
out
private java.io.OutputStream out
response
private javax.servlet.http.HttpServletResponse response
messageFile
private java.io.File messageFile
key
private java.lang.String key
id
private int id
inFile
private java.io.File inFile
bytesWritten
private int bytesWritten
globalCount
private static int globalCount
EmbeddedDataStream
public EmbeddedDataStream(javax.servlet.http.HttpServletResponse res,
java.lang.String key,
byte[] message)
throws java.io.IOException
init
public static void init(java.lang.String shell,
java.lang.String program)
getNewId
private static int getNewId()
close
public void close()
throws java.io.IOException
- Description copied from class:
java.io.OutputStream
- This method closes the stream. Any internal or native resources
associated with this stream are freed. Any subsequent attempt to
access the stream might throw an exception.
This method in this class does nothing.
flush
public void flush()
throws java.io.IOException
- Description copied from class:
java.io.OutputStream
- This method forces any data that may have been buffered to be written
to the underlying output device. Please note that the host environment
might perform its own buffering unbeknowst to Java. In that case, a
write made (for example, to a disk drive) might be cached in OS
buffers instead of actually being written to disk.
This method in this class does nothing.
write
public void write(int b)
throws java.io.IOException
- Description copied from class:
java.io.OutputStream
- This method writes a single byte to the output stream. The byte written
is the low eight bits of the
int passed and a argument.
Subclasses must provide an implementation of this abstract method
success
public boolean success()
bytesWritten
public int bytesWritten()