|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.servlet.pagecompile.GenericConverter
public class GenericConverter
Converts raw text data into UNICODE strings.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
GenericConverter()
Empty constructor. |
Method Summary | |
---|---|
java.lang.String |
convert(byte[] pValue,
java.lang.String pEncoding)
Converts the byte array into a Java UNICODE String using the specified encoding. |
java.util.Dictionary |
convert(java.util.Dictionary pValue,
java.lang.String pEncoding)
Converts all of the keys and values in the supplied dictionary to UNICODE Strings using the specified encoding. |
java.lang.String |
convert(java.lang.String pValue,
java.lang.String pEncoding)
Converts the byte array into a Java UNICODE String using the specified encoding. |
java.lang.String |
getFallbackEncoding()
The encoding type to use when the actual encoding type of data to convert could not be discerned. |
void |
setFallbackEncoding(java.lang.String pValue)
The encoding type to use when the actual encoding type of data to convert could not be discerned. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericConverter()
Method Detail |
---|
public void setFallbackEncoding(java.lang.String pValue)
setFallbackEncoding
in interface Converter
public java.lang.String getFallbackEncoding()
getFallbackEncoding
in interface Converter
public java.lang.String convert(byte[] pValue, java.lang.String pEncoding) throws java.io.IOException
convert
in interface Converter
java.io.IOException
public java.lang.String convert(java.lang.String pValue, java.lang.String pEncoding) throws java.io.IOException
convert
in interface Converter
java.io.IOException
public java.util.Dictionary convert(java.util.Dictionary pValue, java.lang.String pEncoding) throws java.io.IOException
convert
in interface Converter
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |