|
||||||||||
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.ConstPath
public class ConstPath
Field Summary |
---|
Fields inherited from class com.caucho.vfs.Path |
---|
_pathSeparatorChar, _schemeMap, _separatorChar, L |
Constructor Summary | |
---|---|
ConstPath(Path root,
StreamImpl stream)
|
Method Summary | |
---|---|
boolean |
exists()
Tests if the file exists. |
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. |
StreamImpl |
openAppendImpl()
|
StreamImpl |
openReadImpl()
|
StreamImpl |
openReadWriteImpl()
|
StreamImpl |
openWriteImpl()
|
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. |
void |
setPath(java.lang.String path)
|
void |
setScheme(java.lang.String scheme)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstPath(Path root, StreamImpl stream)
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 Path
userPath
- 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 Path
public java.lang.String getScheme()
Path
getScheme
in class Path
public void setScheme(java.lang.String scheme)
public java.lang.String getPath()
Path
getPath
in class Path
public void setPath(java.lang.String path)
public boolean exists()
Path
exists
in class Path
public StreamImpl openReadImpl() throws java.io.IOException
openReadImpl
in class Path
java.io.IOException
public StreamImpl openWriteImpl() throws java.io.IOException
openWriteImpl
in class Path
java.io.IOException
public StreamImpl openReadWriteImpl() throws java.io.IOException
openReadWriteImpl
in class Path
java.io.IOException
public StreamImpl openAppendImpl() throws java.io.IOException
openAppendImpl
in class Path
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |