|
||||||||||
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.StringPath
public class StringPath
Field Summary |
---|
Fields inherited from class com.caucho.vfs.Path |
---|
_pathSeparatorChar, _schemeMap, _separatorChar, L |
Constructor Summary | |
---|---|
StringPath(java.lang.String string)
|
Method Summary | |
---|---|
boolean |
canRead()
Tests if the file can be read. |
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. |
Path |
lookupImpl(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes)
|
StreamImpl |
openReadImpl()
|
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 |
Constructor Detail |
---|
public StringPath(java.lang.String string)
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 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)
public boolean exists()
Path
exists
in class Path
public boolean canRead()
Path
canRead
in class Path
public StreamImpl openReadImpl()
openReadImpl
in class Path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |