org.netbeans.lib.cvsclient.util
Class BundleUtilities
java.lang.Object
org.netbeans.lib.cvsclient.util.BundleUtilities
public class BundleUtilities
- extends Object
- Version:
- Sep 26, 2001
- Author:
- Thomas Singer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleUtilities
public BundleUtilities()
getPackageName
public static String getPackageName(Class clazz)
- Returns the package name of the specified class.
An empty String is returned, if the class is in the default package.
getResourceName
public static String getResourceName(Class classInSamePackage,
String shortName)
- Returns the resourcename for the resource' shortName relative to the classInSamePackage.
getResourceBundle
public static ResourceBundle getResourceBundle(Class classInSamePackage,
String shortName)
- Returns the resource bundle for the specified resource' shortName relative to classInSamePackage.
Copyright © 2011. All Rights Reserved.