| java.lang.Object org.netbeans.installer.utils.ResourceUtils
ResourceUtils | final public class ResourceUtils (Code) | | author: Kirill Sorokin |
Method Summary | |
public static InputStream | getResource(String name) | public static InputStream | getResource(String path, ClassLoader loader) | public static String | getResourceFileName(String resource) | public static long | getResourceSize(String resource) Returns the size of the resource file. | public static String | getString(String baseName, String key) | public static String | getString(String baseName, String key, Object... arguments) | public static String | getString(String baseName, String key, ClassLoader loader) | public static String | getString(String baseName, String key, ClassLoader loader, Object... arguments) | public static String | getString(Class clazz, String key) | public static String | getString(Class clazz, String key, Object... arguments) |
BUFFER_SIZE | final public static int BUFFER_SIZE(Code) | | |
BUNDLE_FILE_SUFFIX | final public static String BUNDLE_FILE_SUFFIX(Code) | | |
getResourceSize | public static long getResourceSize(String resource)(Code) | | Returns the size of the resource file.
Parameters: resource - Resource name size of the resource or -1 if the resource was not found or any other error occured |
|
|