|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.examples.ExampleUtils
public final class ExampleUtils
Utilities needed by the examples.
| Method Summary | |
|---|---|
static org.apache.hivemind.Registry |
buildClasspathRegistry(java.lang.String file)
Convenience method for invoking buildClasspathRegistry(String[])
with only a single file. |
static org.apache.hivemind.Registry |
buildClasspathRegistry(java.lang.String[] files)
Builds a registry for files in the classpath. |
protected static org.apache.hivemind.Resource |
getResource(java.lang.String file)
Returns the given file as a Resource from the classpath. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.hivemind.Registry buildClasspathRegistry(java.lang.String file)
throws java.lang.Exception
buildClasspathRegistry(String[])
with only a single file.
java.lang.Exception
public static org.apache.hivemind.Registry buildClasspathRegistry(java.lang.String[] files)
throws java.lang.Exception
java.lang.Exceptionprotected static org.apache.hivemind.Resource getResource(java.lang.String file)
Resource from the classpath.
Typically, this is to find files in the same folder as the invoking
class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||