public class IlvCurrentDirectoryURLResolver extends Object implements IlvURLResolver
System.getProperty("user.dir")
.Constructor and Description |
---|
IlvCurrentDirectoryURLResolver()
Constructs the URL resolver.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbbreviateForm(URL url)
Returns the abbreviated form of the specified
url . |
URL |
resolveURL(String filename)
Resolves a URL from the specified
filename . |
public IlvCurrentDirectoryURLResolver()
public URL resolveURL(String filename)
filename
.resolveURL
in interface IlvURLResolver
filename
- The file name or relative pathname expression
to retrieve a URL from.filename
or
null
if no URL could be resolved.public String getAbbreviateForm(URL url)
url
. If the URL
is returned by the IlvURLResolver.resolveURL(java.lang.String)
method, the abbreviated form should
be the file name given as the parameter of the IlvURLResolver.resolveURL(java.lang.String)
method.getAbbreviateForm
in interface IlvURLResolver
url
- The URL to retrieve the abbreviated form from.url
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.