|
||||||||||
| 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.NotFoundPath
public class NotFoundPath
Always returns FileNotFound for any open attempt.
NotFoundPath is a useful utility Path for MergePath when
the path doesn't exist in any of the merged paths.
| Field Summary |
|---|
| Fields inherited from class com.caucho.vfs.Path |
|---|
_pathSeparatorChar, _schemeMap, _separatorChar, L |
| Constructor Summary | |
|---|---|
NotFoundPath(SchemeMap schemeMap,
java.lang.String url)
Creates new NotFoundPath |
|
| Method Summary | |
|---|---|
protected Path |
copyCache()
|
boolean |
equals(java.lang.Object obj)
Only identical is equals |
java.lang.String |
getPath()
Returns the URL which can't be found. |
java.lang.String |
getScheme()
Returns the url scheme |
java.lang.String |
getURL()
The URL is error |
StreamImpl |
openReadImpl()
Throws a FileNotFoundException for any read. |
Path |
schemeWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> attributes,
java.lang.String path,
int offset)
Dummy return. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotFoundPath(SchemeMap schemeMap,
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)
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()
getURL in class Pathpublic java.lang.String getScheme()
Path
getScheme in class Pathpublic java.lang.String getPath()
getPath in class Path
public StreamImpl openReadImpl()
throws java.io.IOException
openReadImpl in class Pathjava.io.IOExceptionprotected Path copyCache()
public boolean equals(java.lang.Object obj)
equals in class Path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||