|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.legstar.coxb.host.HostContext
public class HostContext
A class representing a host context, typically the host code page in use for instance. This class is meant to be a generalization for lamguage specific contexts
Constructor Summary | |
---|---|
HostContext()
|
Method Summary | |
---|---|
static String |
getDefaultHostCharsetName()
Provides a default host character set. |
String |
getHostCharsetName()
|
byte[] |
getHostIntegerSigns()
Returns the numeric characters that might appear in a string representation of an integer converted to the target host charset. |
static byte[] |
getHostIntegerSigns(String charsetName)
|
static String |
getIntegerSigns()
|
void |
setHostCharsetName(String charsetName)
This will generate an UnsupportedCharsetException if user tries to specify a charset that is not supported by the current JVM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostContext()
Method Detail |
---|
public String getHostCharsetName()
public void setHostCharsetName(String charsetName)
charsetName
- The charsetName to set.public static String getDefaultHostCharsetName()
public byte[] getHostIntegerSigns()
public static byte[] getHostIntegerSigns(String charsetName)
charsetName
- the host character set
public static String getIntegerSigns()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |