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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.commons.util.FileLookup
lookupFile, lookupFileLocation, lookupFileLocations, lookupFileStrict, lookupFileStrict
-
Constructor Details
-
DefaultFileLookup
protected DefaultFileLookup()
-
-
Method Details
-
getAsInputStreamFromClassLoader
- Specified by:
getAsInputStreamFromClassLoader
in classAbstractFileLookup
-
getAsURLFromClassLoader
- Specified by:
getAsURLFromClassLoader
in classAbstractFileLookup
-
getAsURLsFromClassLoader
protected Collection<URL> getAsURLsFromClassLoader(String filename, ClassLoader userClassLoader) throws IOException - Specified by:
getAsURLsFromClassLoader
in classAbstractFileLookup
- Throws:
IOException
-