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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.