org.nakedobjects.metamodel.commons.lang
Class Resources

java.lang.Object
  extended by org.nakedobjects.metamodel.commons.lang.Resources

public class Resources
extends java.lang.Object

Adapted from Ibatis Common.


Constructor Summary
Resources()
           
 
Method Summary
static java.io.File getResourceAsFile(java.lang.String resource)
           
static java.util.Properties getResourceAsProperties(java.lang.String resource)
           
static java.io.InputStream getResourceAsStream(java.lang.String resource)
           
static java.net.URL getResourceURL(java.lang.String resource)
          Returns the URL, or null if not available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

getResourceURL

public static java.net.URL getResourceURL(java.lang.String resource)
Returns the URL, or null if not available.


getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.String resource)

getResourceAsFile

public static java.io.File getResourceAsFile(java.lang.String resource)

getResourceAsProperties

public static java.util.Properties getResourceAsProperties(java.lang.String resource)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.