public class FileFinder extends Object
| Constructor and Description |
|---|
FileFinder() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
find(String name)
Tries to find the file specified from filesystem or classpath.
|
static String |
findAndLoad(String name)
Finds and loads a file.
|
static String |
load(InputStream in)
Loads a file.
|
public static InputStream find(String name)
name - - name of file, can be fully qualifiedpublic static String findAndLoad(String name)
name - - name of filepublic static String load(InputStream in)
in - - input streamCopyright © 2012. All Rights Reserved.