fabric.common
Class Resources

java.lang.Object
  extended by fabric.common.Resources

public class Resources
extends java.lang.Object

Manages the loading of configuration files


Constructor Summary
Resources()
           
 
Method Summary
static java.io.File getFile(java.lang.String... relpath)
           
static java.io.InputStream readFile(java.lang.String... relpath)
           
static java.lang.String relpathRewrite(java.lang.String... relpath)
           
static java.io.OutputStream writeFile(java.lang.String... relpath)
           
 
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

relpathRewrite

public static java.lang.String relpathRewrite(java.lang.String... relpath)

getFile

public static java.io.File getFile(java.lang.String... relpath)

readFile

public static java.io.InputStream readFile(java.lang.String... relpath)
                                    throws java.io.IOException
Throws:
java.io.IOException

writeFile

public static java.io.OutputStream writeFile(java.lang.String... relpath)
                                      throws java.io.IOException
Throws:
java.io.IOException