Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static String |
compactClassName(String str,
boolean chopit)
Shorten long class names, java/lang/String becomes
java.lang.String,
e.g..
|
static String |
compactClassName(String str,
String prefix,
boolean chopit)
Shorten long class name str, i.e., chop off the prefix,
if the
class name starts with this string and the flag chopit is true.
|
protected static void |
swallowCodeException(DataInput file) |
protected static void |
swallowInnerClass(DataInput file) |
protected static void |
swallowLineNumber(DataInput file) |
protected static void |
swallowLocalVariable(DataInput file) |
public static final String compactClassName(String str, String prefix, boolean chopit)
str
- The long class nameprefix
- The prefix the get rid offchopit
- Flag that determines whether chopping is executed or notpublic static final String compactClassName(String str, boolean chopit)
str
- The long class namechopit
- Flag that determines whether chopping is executed or notprotected static void swallowCodeException(DataInput file) throws IOException
IOException
protected static void swallowInnerClass(DataInput file) throws IOException
IOException
protected static void swallowLineNumber(DataInput file) throws IOException
IOException
protected static void swallowLocalVariable(DataInput file) throws IOException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.