Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static float |
absDelta(float f1,
float f2)
Compute the absolute value of the difference between two floating-point
numbers having single precision.
|
static String |
capitalize(String lc) |
static String |
getAbsolutePath(String filename,
Vector includePaths)
Searches the current user directory and a list of directories for
a given short file name and returns its absolute file specification.
|
static String |
getMessage(String key) |
static String |
getMessage(String key,
String fill) |
static String |
getMessage(String key,
String[] fill) |
static String |
getVersion()
Fetch the version number of this build of the IDL Parser Framework
from the appropriate properties file.
|
static String |
getVersion(String filename)
Fetch the version number of this build of the IDL Parser Framework.
|
static boolean |
isAttribute(String name,
Hashtable symbolTable) |
static boolean |
isConst(String name,
Hashtable symbolTable) |
static boolean |
isEnum(String name,
Hashtable symbolTable) |
static boolean |
isException(String name,
Hashtable symbolTable) |
static boolean |
isInterface(String name,
Hashtable symbolTable) |
static boolean |
isMethod(String name,
Hashtable symbolTable) |
static boolean |
isModule(String name,
Hashtable symbolTable) |
static boolean |
isParameter(String name,
Hashtable symbolTable) |
static boolean |
isPrimitive(String name,
Hashtable symbolTable) |
static boolean |
isSequence(String name,
Hashtable symbolTable) |
static boolean |
isString(String name,
Hashtable symbolTable) |
static boolean |
isStruct(String name,
Hashtable symbolTable) |
static boolean |
isTypedef(String name,
Hashtable symbolTable) |
static boolean |
isUnion(String name,
Hashtable symbolTable) |
static void |
registerMessageFile(String filename)
Register a message file.
|
public static String getVersion()
public static String getVersion(String filename)
public static void registerMessageFile(String filename)
public static String getAbsolutePath(String filename, Vector includePaths) throws FileNotFoundException
FileNotFoundException
- The file does not exist in the
current user or specified directories.File.getAbsolutePath
public static float absDelta(float f1, float f2)
Copyright © 2017 JBoss by Red Hat. All rights reserved.