|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.vfs.Pwd
Deprecated: use the Vfs facade instead.
Method Summary | |
static Path |
lookup()
Returns a path for the current directory. |
static Path |
lookup(java.lang.String url)
Returns a new path relative to the current directory. |
static Path |
lookup(java.lang.String url,
java.util.Map attr)
Returns a new path, including attributes. |
static Path |
lookupNative(java.lang.String url)
Returns a path using the native filesystem conventions. |
static Path |
lookupNative(java.lang.String url,
java.util.Map attr)
Returns a native filesystem path with attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Path lookup(java.lang.String url)
url
- a relative or absolute urlpublic static Path lookup()
public static Path lookup(java.lang.String url, java.util.Map attr)
For example, an application may want to set locale headers for an HTTP request.
url
- the relative urlattr
- attributes used in searching for the urlpublic static Path lookupNative(java.lang.String url)
For example, on windows
Path path = Pwd.lookup("d:\\temp\\test.html");
url
- a relative path using the native filesystem conventions.public static Path lookupNative(java.lang.String url, java.util.Map attr)
url
- a relative path using the native filesystem conventions.attr
- attributes used in searching for the url
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |