|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Utility.IOHelper
Static class to handle recurring problem of opening a file or resource wherever it may be

| Constructor Summary | |
IOHelper()
|
|
| Method Summary | |
static java.io.InputStream |
getInputStream(java.lang.String ref)
This method returns a java.io.InputStream associated with a String representing a resource type. |
static void |
main(java.lang.String[] arg)
Main test program for reading in a stream resource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IOHelper()
| Method Detail |
public static java.io.InputStream getInputStream(java.lang.String ref)
throws java.io.IOException
java.io.IOExceptionref - a String representing a resource path or URL
public static void main(java.lang.String[] arg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||