|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jdocbook.util.ResourceHelper
public class ResourceHelper
Simple helpers for locating and handling classpath and file URL resource lookups.
| Constructor Summary | |
|---|---|
ResourceHelper()
|
|
| Method Summary | |
|---|---|
static java.net.URL |
locateResource(java.lang.String name)
Locate said resource. |
static java.net.URL |
requireResource(java.lang.String name)
Locate said resource, throwing an exception if it could not be found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceHelper()
| Method Detail |
|---|
public static java.net.URL requireResource(java.lang.String name)
name - The resource name.
java.lang.IllegalArgumentException - If the resource could not be found.public static java.net.URL locateResource(java.lang.String name)
name - The resource name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||