|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.win32.FunctionName
public class FunctionName
This class stores general Windows API function name and returns the encoding-specific name on demand.
Constructor Summary | |
---|---|
FunctionName(java.lang.String name)
Creates instance of the FunctionName |
|
FunctionName(java.lang.String name,
boolean hasANSISuffix)
Creates instance of the FunctionName |
Method Summary | |
---|---|
java.lang.String |
getEncodingSpecificName(boolean unicode)
Returns the encoding-specific function name. |
java.lang.String |
getName()
Returns the name of the function without suffix |
boolean |
hasANSISuffix()
Specifies whether the function name requires ANSI suffix or not |
java.lang.String |
toString()
Returns encoding-specific name of the function |
static boolean |
usesUnicodeNames()
Specifies whether the Unicode functions name is used. |
static void |
useUnicodeNames(boolean value)
Sets the value of the property that specifies whether to use Unicode ore ANSI functions names |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionName(java.lang.String name)
FunctionName
name
- The name of the function. This name will be converted to the name that correspond
to the Unicode or ANSI function name depending on system requirementspublic FunctionName(java.lang.String name, boolean hasANSISuffix)
FunctionName
name
- The name of the function. This name will be converted to the name that correspond
to the Unicode or ANSI function name depending on system requirementshasANSISuffix
- true if the function name requires ANSI suffix. Otherwise falseMethod Detail |
---|
public static void useUnicodeNames(boolean value)
value
- true if the Unicode functions names must be used. Otherwise false.public static boolean usesUnicodeNames()
public boolean hasANSISuffix()
public java.lang.String getName()
public java.lang.String getEncodingSpecificName(boolean unicode)
unicode
- if true, Unicode name will be returned.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |