|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpURLAccessService
This service is used for deploying applications and applets without hardcoding pathnames or URLs. It turns relative URLs into absolute URLs or pathnames. Possible uses of this service are the access to icons and configuration files.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||