Package org.infinispan.commons.util
Class FileLookupFactory.DefaultFileLookup
- java.lang.Object
-
- org.infinispan.commons.util.AbstractFileLookup
-
- org.infinispan.commons.util.FileLookupFactory.DefaultFileLookup
-
- All Implemented Interfaces:
FileLookup
- Enclosing class:
- FileLookupFactory
public static class FileLookupFactory.DefaultFileLookup extends AbstractFileLookup implements FileLookup
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultFileLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStream
getAsInputStreamFromClassLoader(String filename, ClassLoader appClassLoader)
protected URL
getAsURLFromClassLoader(String filename, ClassLoader userClassLoader)
protected Collection<URL>
getAsURLsFromClassLoader(String filename, ClassLoader userClassLoader)
-
Methods inherited from class org.infinispan.commons.util.AbstractFileLookup
lookupFile, lookupFileLocation, lookupFileLocations, lookupFileStrict, lookupFileStrict
-
Methods inherited from interface org.infinispan.commons.util.FileLookup
lookupFile, lookupFileLocation, lookupFileLocations, lookupFileStrict, lookupFileStrict
-
-
-
-
Method Detail
-
getAsInputStreamFromClassLoader
protected InputStream getAsInputStreamFromClassLoader(String filename, ClassLoader appClassLoader)
- Specified by:
getAsInputStreamFromClassLoader
in classAbstractFileLookup
-
getAsURLFromClassLoader
protected URL getAsURLFromClassLoader(String filename, ClassLoader userClassLoader)
- Specified by:
getAsURLFromClassLoader
in classAbstractFileLookup
-
getAsURLsFromClassLoader
protected Collection<URL> getAsURLsFromClassLoader(String filename, ClassLoader userClassLoader) throws IOException
- Specified by:
getAsURLsFromClassLoader
in classAbstractFileLookup
- Throws:
IOException
-
-