public interface FileLookup
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
lookupFile(java.lang.String filename,
java.lang.ClassLoader cl)
Looks up the file, see :
FileLookupFactory.DefaultFileLookup. |
java.net.URL |
lookupFileLocation(java.lang.String filename,
java.lang.ClassLoader cl) |
java.util.Collection<java.net.URL> |
lookupFileLocations(java.lang.String filename,
java.lang.ClassLoader cl) |
java.io.InputStream |
lookupFileStrict(java.lang.String filename,
java.lang.ClassLoader cl)
Looks up the file, see :
FileLookupFactory.DefaultFileLookup. |
java.io.InputStream |
lookupFileStrict(java.net.URI uri,
java.lang.ClassLoader cl)
Looks up the file, see :
FileLookupFactory.DefaultFileLookup. |
java.io.InputStream lookupFile(java.lang.String filename,
java.lang.ClassLoader cl)
FileLookupFactory.DefaultFileLookup.filename - might be the name of the file (too look it up in the class path) or an url to a file.java.io.InputStream lookupFileStrict(java.lang.String filename,
java.lang.ClassLoader cl)
throws java.io.FileNotFoundException
FileLookupFactory.DefaultFileLookup.filename - might be the name of the file (too look it up in the class path) or an url to a file.java.io.FileNotFoundException - if file cannot be foundjava.io.InputStream lookupFileStrict(java.net.URI uri,
java.lang.ClassLoader cl)
throws java.io.FileNotFoundException
FileLookupFactory.DefaultFileLookup.uri - An absolute, hierarchical URI with a scheme equal to
"file" that represents the file to lookupjava.io.FileNotFoundException - if file cannot be foundjava.net.URL lookupFileLocation(java.lang.String filename,
java.lang.ClassLoader cl)
java.util.Collection<java.net.URL> lookupFileLocations(java.lang.String filename,
java.lang.ClassLoader cl)
throws java.io.IOException
java.io.IOException