Class ConfigData
java.lang.Object
com.priint.pubserver.webservice.init.ConfigData
- All Implemented Interfaces:
Serializable
Simple plugin config class representing a text or a binary content.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptioncreate ConfigData objectConfigData(byte[] value) create ConfigData object and setting binary content to given valueConfigData(String value) create ConfigData object and setting text content to given value -
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]final Stringfinal voidsetBinaryContent(byte[] value) final voidsetTextContent(String value)
-
Constructor Details
-
ConfigData
public ConfigData()create ConfigData object -
ConfigData
create ConfigData object and setting text content to given value- Parameters:
value-
-
ConfigData
public ConfigData(byte[] value) create ConfigData object and setting binary content to given value- Parameters:
value-
-
-
Method Details
-
getBinaryContent
public final byte[] getBinaryContent()- Returns:
- binary content
-
setBinaryContent
public final void setBinaryContent(byte[] value) - Parameters:
value-
-
getTextContent
- Returns:
- text content
-
setTextContent
- Parameters:
value-
-