|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter
Converts encoded text to UNICODE. Useful when the encoding method of the text is not known. Should only be used if you are really looking for an encoding. If you know you have ASCII, then don't waste your time trying to convert.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
void setFallbackEncoding(java.lang.String pValue)
java.lang.String getFallbackEncoding()
java.lang.String convert(byte[] pValue, java.lang.String pEncoding) throws java.io.IOException
java.io.IOException
java.lang.String convert(java.lang.String pValue, java.lang.String pEncoding) throws java.io.IOException
java.io.IOException
java.util.Dictionary convert(java.util.Dictionary pValue, java.lang.String pEncoding) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |