Utilpublic class Util extends Object
Fields Summary |
---|
private static Logger | logger | private static final String | myClassName |
Methods Summary |
---|
public static java.lang.String | convertToExternalClassName(java.lang.String internalClsName) // NOI18N
return internalClsName.replace('/", '.");
| public static java.lang.String | convertToInternalClassName(java.lang.String externalClsName)
return externalClsName.replace('.", '/");
| public static boolean | isPrimitive(java.lang.String className)
logger.entering(myClassName, "isPrimitive", new Object[]{className}); // NOI18N
boolean result = ("B".equals(className) || // NOI18N
"C".equals(className) || // NOI18N
"D".equals(className) || // NOI18N
"F".equals(className) || // NOI18N
"I".equals(className) || // NOI18N
"J".equals(className) || // NOI18N
"S".equals(className) || // NOI18N
"Z".equals(className)); // NOI18N
logger.exiting(myClassName, "isPrimitive", result); // NOI18N
return result;
|
|