public class FunctionName
extends java.lang.Object
Constructor and Description |
---|
FunctionName(java.lang.String name)
Creates instance of the
FunctionName |
FunctionName(java.lang.String name,
boolean hasANSISuffix)
Creates instance of the
FunctionName |
Modifier and Type | Method and Description |
---|---|
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
|
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 falsepublic 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