|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.Resources
public class Resources
Gives access to resources. Use paths from the root of the project/classpath as this uses the ClassLoader (of the Resources class) to load the resource.
| Constructor Summary | |
|---|---|
Resources()
|
|
| Method Summary | |
|---|---|
static java.net.URL |
getResource(java.lang.String resource)
Get a resource (data, images, xml, ...) relative to the classloader/root of the project. |
static java.io.InputStream |
getResourceAsStream(java.lang.String resource)
Get a resource (data, images, xml, ...) relative to the classloader/root of the project. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Resources()
| Method Detail |
|---|
public static java.net.URL getResource(java.lang.String resource)
resource - the resource
public static java.io.InputStream getResourceAsStream(java.lang.String resource)
resource - the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||