|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.openstego.OpenStego
This is the main class for OpenStego. It includes the main(java.lang.String[])
method which provides the
command line interface for the tool. It also has API methods which can be used by external programs
when using OpenStego as a library.
Constructor Summary | |
OpenStego()
Constructor using the default configuration |
|
OpenStego(java.util.Map propMap)
Constructor with configuration data in the form of Map |
|
OpenStego(OpenStegoConfig config)
Constructor using OpenStegoConfig object |
Method Summary | |
java.awt.image.BufferedImage |
embedData(byte[] data,
java.lang.String dataFileName,
java.awt.image.BufferedImage image)
Method to embed the data into an image |
java.awt.image.BufferedImage |
embedData(java.io.File dataFile,
java.io.File imageFile)
Method to embed the data into an image (alternate API) |
java.util.List |
extractData(java.awt.image.BufferedImage image)
Method to extract the data from an image |
java.util.List |
extractData(java.io.File imageFile)
Method to extract the data from an image (alternate API) |
static void |
main(java.lang.String[] args)
Main method for calling openstego from command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OpenStego()
public OpenStego(OpenStegoConfig config)
OpenStegoConfig
object
config
- OpenStegoConfig object with configuration datapublic OpenStego(java.util.Map propMap) throws OpenStegoException
Map
- Parameters:
propMap
- Map containing the configuration data
- Throws:
OpenStegoException
Method Detail |
public java.awt.image.BufferedImage embedData(byte[] data, java.lang.String dataFileName, java.awt.image.BufferedImage image) throws OpenStegoException
data
- Data to be embeddeddataFileName
- Name of the data fileimage
- Source image data into which data needs to be embedded
OpenStegoException
public java.awt.image.BufferedImage embedData(java.io.File dataFile, java.io.File imageFile) throws OpenStegoException
dataFile
- File containing the data to be embeddedimageFile
- Source image file into which data needs to be embedded
OpenStegoException
public java.util.List extractData(java.awt.image.BufferedImage image) throws OpenStegoException
image
- Image from which data needs to be extracted
OpenStegoException
public java.util.List extractData(java.io.File imageFile) throws OpenStegoException
imageFile
- Image file from which data needs to be extracted
OpenStegoException
public static void main(java.lang.String[] args) throws OpenStegoException
args
- Command line arguments
OpenStegoException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |