|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.vfs.Path
com.caucho.vfs.NullPath
public class NullPath
| Field Summary | |
|---|---|
static Path |
NULL
|
| Fields inherited from class com.caucho.vfs.Path |
|---|
_pathSeparatorChar, _schemeMap, _separatorChar, L |
| Constructor Summary | |
|---|---|
NullPath(java.lang.String url)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPath()
Returns the path. |
java.lang.String |
getScheme()
Returns the url scheme |
java.lang.String |
getURL()
Returns the full url for the given path. |
Path |
lookupImpl(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes)
Returns a new path relative to the current one. |
Path |
schemeWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> attributes,
java.lang.String path,
int offset)
Path-specific lookup. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Path NULL
| Constructor Detail |
|---|
public NullPath(java.lang.String url)
| Method Detail |
|---|
public Path schemeWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> attributes,
java.lang.String path,
int offset)
Path
schemeWalk in class PathuserPath - the user's lookup() path.attributes - the attributes for the new path.path - the lookup() pathoffset - offset into newPath to start lookup.
public java.lang.String getURL()
Path
getURL in class Pathpublic java.lang.String getScheme()
Path
getScheme in class Pathpublic java.lang.String getPath()
Path
getPath in class Path
public Path lookupImpl(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes)
PathPath only handles scheme:xxx. Subclasses of Path will specialize the xxx.
lookupImpl in class PathuserPath - relative or absolute path, essentially any url.newAttributes - attributes for the new path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||