Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.util;
 
 import java.net.URI;
 import java.net.URL;
 
public interface FileLookup {

   
Looks up the file, see : FileLookupFactory.DefaultFileLookup.

Parameters:
filename might be the name of the file (too look it up in the class path) or an url to a file.
Returns:
an input stream to the file or null if nothing found through all lookup steps.
   InputStream lookupFile(String filenameClassLoader cl);

   
Looks up the file, see : FileLookupFactory.DefaultFileLookup.

Parameters:
filename might be the name of the file (too look it up in the class path) or an url to a file.
Returns:
an input stream to the file or null if nothing found through all lookup steps.
Throws:
java.io.FileNotFoundException if file cannot be found
Looks up the file, see : FileLookupFactory.DefaultFileLookup.

Parameters:
uri An absolute, hierarchical URI with a scheme equal to "file" that represents the file to lookup
Returns:
an input stream to the file or null if nothing found through all lookup steps.
Throws:
java.io.FileNotFoundException if file cannot be found
   URL lookupFileLocation(String filenameClassLoader cl);
New to GrepCode? Check out our FAQ X