public class GenericConverter extends GenericService implements Converter
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
GenericConverter()
Empty constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic void setFallbackEncoding(java.lang.String pValue)
setFallbackEncoding in interface Converterpublic java.lang.String getFallbackEncoding()
getFallbackEncoding in interface Converterpublic java.lang.String convert(byte[] pValue,
                       java.lang.String pEncoding)
                         throws java.io.IOException
public java.lang.String convert(java.lang.String pValue,
                       java.lang.String pEncoding)
                         throws java.io.IOException
public java.util.Dictionary convert(java.util.Dictionary pValue,
                           java.lang.String pEncoding)
                             throws java.io.IOException