|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jogamp.common.util.IOUtil.ClassResources
public static class IOUtil.ClassResources
Helper compound associating a class instance and resource paths
to be resolved at a later time.
| Field Summary | |
|---|---|
Class<?> |
contextCL
Class instance used to resolve(int) the resourcePaths. |
String[] |
resourcePaths
Resource paths, see resolve(int). |
| Constructor Summary | |
|---|---|
IOUtil.ClassResources(Class<?> contextCL,
String[] resourcePaths)
|
|
| Method Summary | |
|---|---|
URLConnection |
resolve(int uriIndex)
Resolving one of the resourcePaths indexed by uriIndex using contextCL and IOUtil.getResource(Class, String). |
int |
resourceCount()
Returns the number of resources, i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Class<?> contextCL
resolve(int) the resourcePaths.
public final String[] resourcePaths
resolve(int).
| Constructor Detail |
|---|
public IOUtil.ClassResources(Class<?> contextCL,
String[] resourcePaths)
contextCL - class instance to resolve(int) resourcePaths.resourcePaths - array of strings denominating multiple resource paths. None shall be null.| Method Detail |
|---|
public final int resourceCount()
resourcePaths.length.
public URLConnection resolve(int uriIndex)
throws ArrayIndexOutOfBoundsException
resourcePaths indexed by uriIndex using contextCL and IOUtil.getResource(Class, String).
ArrayIndexOutOfBoundsException - if uriIndex is < 0 or >= resourceCount().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||