fabric.common
Class Resources
java.lang.Object
fabric.common.Resources
public class Resources
- extends java.lang.Object
Manages the loading of configuration files
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 |
Resources
public Resources()
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