org.semanticdesktop.aperture.util
Class ResourceUtil
java.lang.Object
org.semanticdesktop.aperture.util.ResourceUtil
public class ResourceUtil
- extends Object
ResourceUtil is a utility class for retrieving resources (images, property-files, etc) from the
classpath.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceUtil
public ResourceUtil()
getURL
public static URL getURL(String resourceName,
Class clazz)
getInputStream
public static InputStream getInputStream(String resourceName,
Class clazz)
getString
public static String getString(String resourceName,
Class clazz)
throws IOException
- Throws:
IOException
Copyright © 2010 Aperture Development Team. All Rights Reserved.