|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
net.sourceforge.openstego.StegoOutputStream
OutputStream to embed data into image
| Constructor Summary | |
StegoOutputStream(java.awt.image.BufferedImage image,
int dataLength,
StegoConfig config)
Default constructor |
|
| Method Summary | |
void |
close()
Closes the stream |
void |
flush()
Flushes the stream |
int |
getChannelBitsUsed()
Get method for channelBitsUsed |
int |
getDataLength()
Get method for dataLength |
java.awt.image.BufferedImage |
getImage()
Get the image containing the embedded data. |
void |
write(int data)
Implementation of OutputStream.write(int) method |
| Methods inherited from class java.io.OutputStream |
write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StegoOutputStream(java.awt.image.BufferedImage image,
int dataLength,
StegoConfig config)
throws java.io.IOException
image - Source image into which data will be embeddeddataLength - Length of the data that would be written to the imageconfig - Configuration data to use while writing
java.io.IOException| Method Detail |
public void write(int data)
throws java.io.IOException
OutputStream.write(int) method
data - Byte to be written
java.io.IOException
public void flush()
throws java.io.IOException
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOException
public java.awt.image.BufferedImage getImage()
throws java.io.IOException
java.io.IOExceptionpublic int getDataLength()
public int getChannelBitsUsed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||