public class Util extends Util
Modifier and Type | Field and Description |
---|---|
static short |
HelperFile |
static short |
HolderFile |
static short |
StateFile |
static short |
StubFile |
static short |
TypeFile |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static String |
collapseName(String name)
Collapse primitive type names.
|
static String |
containerFullName(SymtabEntry container) |
static boolean |
corbaLevel(float min,
float max) |
static String |
fileName(SymtabEntry entry,
NameModifier modifier,
String extension) |
static String |
fileName(SymtabEntry entry,
String extension)
Given a symbol table entry, return the name of
the file which should be created.
|
static GenFileStream |
getStream(String name,
SymtabEntry entry) |
static String |
getVersion()
Fetch the version number of this build of the IDL-to-Java (portable)
compiler from the appropriate properties file.
|
static String |
helperName(SymtabEntry entry,
boolean qualifiedName)
|
static String |
holderName(SymtabEntry entry) |
static boolean |
IDLEntity(SymtabEntry entry) |
static boolean |
isInterface(String name) |
static String |
javaName(SymtabEntry entry)
Given a SymtabEntry, return the string which should be used
for this entry.
|
static String |
javaNativeName(String name) |
static String |
javaPrimName(String name) |
static String |
javaQualifiedName(SymtabEntry entry)
Given a symtabEntry, return the name of this entry.
|
static void |
mkdir(String name) |
static String |
parseExpression(Expression e) |
static String |
sansArrayInfo(String name) |
static String |
sansArrayInfo(Vector arrayInfo) |
static void |
setPackageTranslation(Hashtable pkgtrans) |
static GenFileStream |
stream(SymtabEntry entry,
NameModifier modifier,
String extension) |
static GenFileStream |
stream(SymtabEntry entry,
String extension) |
static String |
stripLeadingUnderscores(String string) |
static String |
stripLeadingUnderscoresFromID(String string) |
static String |
translate(String name) |
static SymtabEntry |
typeOf(SymtabEntry entry) |
static void |
writeInitializer(String indent,
String name,
String arrayDcl,
SymtabEntry entry,
PrintWriter stream) |
static void |
writeInitializer(String indent,
String name,
String arrayDcl,
SymtabEntry entry,
String initializer,
PrintWriter stream) |
static void |
writePackage(PrintWriter stream,
SymtabEntry entry) |
static void |
writePackage(PrintWriter stream,
SymtabEntry entry,
short type) |
static void |
writePackage(PrintWriter stream,
SymtabEntry entry,
String name,
short type) |
static void |
writeProlog(PrintWriter stream,
String filename) |
absDelta, capitalize, getAbsolutePath, getMessage, getMessage, getMessage, getVersion, isAttribute, isConst, isEnum, isException, isInterface, isMethod, isModule, isParameter, isPrimitive, isSequence, isString, isStruct, isTypedef, isUnion, registerMessageFile
public static final short TypeFile
public static final short StubFile
public static final short HelperFile
public static final short HolderFile
public static final short StateFile
public static String getVersion()
public static void setPackageTranslation(Hashtable pkgtrans)
public static boolean isInterface(String name)
public static String fileName(SymtabEntry entry, String extension)
public static String fileName(SymtabEntry entry, NameModifier modifier, String extension)
public static GenFileStream stream(SymtabEntry entry, String extension)
public static GenFileStream stream(SymtabEntry entry, NameModifier modifier, String extension)
public static GenFileStream getStream(String name, SymtabEntry entry)
public static String containerFullName(SymtabEntry container)
public static String javaName(SymtabEntry entry)
public static String javaQualifiedName(SymtabEntry entry)
public static SymtabEntry typeOf(SymtabEntry entry)
public static String holderName(SymtabEntry entry)
public static String helperName(SymtabEntry entry, boolean qualifiedName)
public static void writePackage(PrintWriter stream, SymtabEntry entry)
public static void writePackage(PrintWriter stream, SymtabEntry entry, String name, short type)
public static void writePackage(PrintWriter stream, SymtabEntry entry, short type)
public static void writeInitializer(String indent, String name, String arrayDcl, SymtabEntry entry, PrintWriter stream)
public static void writeInitializer(String indent, String name, String arrayDcl, SymtabEntry entry, String initializer, PrintWriter stream)
public static void mkdir(String name)
public static void writeProlog(PrintWriter stream, String filename)
public static String parseExpression(Expression e)
public static boolean IDLEntity(SymtabEntry entry)
public static boolean corbaLevel(float min, float max)
Copyright © 2016 JBoss by Red Hat. All rights reserved.