public interface IlpURLAccessService extends IlpService
Modifier and Type | Method and Description |
---|---|
URL |
getFileLocation(String filename)
Returns the URL of a file in the path, or
null if it is not found. |
URL |
getFileLocation(String filename,
boolean searchClassPathFirst,
boolean searchClassPathLast)
Returns the URL of a file in the path, or
null if it is not found. |
URL getFileLocation(String filename)
null
if it is not found.filename
- A relative URL or pathname.URL getFileLocation(String filename, boolean searchClassPathFirst, boolean searchClassPathLast)
null
if it is not found.
This variant has explicit control whether the file shall be searched in the
CLASSPATH or not.filename
- A relative URL or pathname.searchClassPathFirst
- If true, the file shall be searched in the CLASSPATH
(directories and jars) before the usual path.searchClassPathLast
- If true, the file shall be searched in the CLASSPATH
(directories and jars) after the usual path.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.