public class FileLookup extends Object
| Constructor and Description |
|---|
FileLookup() |
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
getAsInputStreamFromClassLoader(String filename) |
InputStream |
lookupFile(String filename)
Looks up the file, see :
FileLookup. |
URL |
lookupFileLocation(String filename) |
public InputStream lookupFile(String filename)
FileLookup.filename - might be the name of the file (too look it up in the class path) or an url to a file.protected InputStream getAsInputStreamFromClassLoader(String filename)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.