|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.openstego.StegoConfig
Class to store configuration data for OpenStego
Field Summary | |
static java.lang.String |
MAX_BITS_USED_PER_CHANNEL
Key string for configuration item - maxBitsUsedPerChannel. |
static java.lang.String |
USE_COMPRESSION
Key string for configuration item - useCompression |
Constructor Summary | |
StegoConfig()
Default Constructor (with default values for configuration items) |
|
StegoConfig(java.util.Map propMap)
Constructor with map of configuration data. |
Method Summary | |
java.lang.String |
getDefaultImageOutputType()
Get method for configuration item - defaultImageOutputType |
int |
getMaxBitsUsedPerChannel()
Get method for configuration item - maxBitsUsedPerChannel |
boolean |
isUseCompression()
Get method for configuration item - useCompression |
void |
setMaxBitsUsedPerChannel(int maxBitsUsedPerChannel)
Set method for configuration item - maxBitsUsedPerChannel |
void |
setUseCompression(boolean useCompression)
Set method for configuration item - useCompression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MAX_BITS_USED_PER_CHANNEL
Maximum bits to use per color channel. Allowing for higher number here might degrade the quality of the image in case the data size is big.
public static final java.lang.String USE_COMPRESSION
Flag to indicate whether compression should be used or not
Constructor Detail |
public StegoConfig()
public StegoConfig(java.util.Map propMap)
propMap
- Map containing the configuration dataMethod Detail |
public int getMaxBitsUsedPerChannel()
public java.lang.String getDefaultImageOutputType()
public boolean isUseCompression()
public void setMaxBitsUsedPerChannel(int maxBitsUsedPerChannel)
maxBitsUsedPerChannel
- public void setUseCompression(boolean useCompression)
useCompression
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |