|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.vfs.Path
com.caucho.env.vfs.RepositoryPath
public class RepositoryPath
Virtual path based on an expansion repository
| Field Summary |
|---|
| Fields inherited from class com.caucho.vfs.Path |
|---|
_pathSeparatorChar, _schemeMap, _separatorChar |
| Constructor Summary | |
|---|---|
protected |
RepositoryPath(RepositoryRoot repository,
RepositoryPath root,
Path physicalPath)
|
|
RepositoryPath(java.lang.String tagId,
Path physicalRoot)
|
| Method Summary | |
|---|---|
boolean |
canRead()
Tests if the file can be read. |
boolean |
canWrite()
Tests if the file can be written. |
boolean |
exists()
Tests if the file exists. |
long |
getCrc64()
Returns the crc64 code. |
long |
getCreateTime()
Returns the create time of the file. |
long |
getLastAccessTime()
Returns the last access time of the file. |
long |
getLastModified()
Returns the last modified time of the file. |
long |
getLength()
Returns the length of the file in bytes. |
java.lang.String |
getPath()
Returns the path. |
java.lang.String |
getScheme()
Returns the url scheme |
boolean |
isDirectory()
Tests if the path refers to a directory. |
boolean |
isFile()
Tests if the path refers to a file. |
java.lang.String[] |
list()
|
StreamImpl |
openReadImpl()
|
Path |
schemeWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes,
java.lang.String newPath,
int offset)
Path-specific lookup. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryPath(java.lang.String tagId,
Path physicalRoot)
throws java.io.IOException
java.io.IOException
protected RepositoryPath(RepositoryRoot repository,
RepositoryPath root,
Path physicalPath)
| Method Detail |
|---|
public java.lang.String getPath()
Path
getPath in class Pathpublic java.lang.String getScheme()
Path
getScheme in class Path
public Path schemeWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes,
java.lang.String newPath,
int offset)
Path
schemeWalk in class PathuserPath - the user's lookup() path.newAttributes - the attributes for the new path.newPath - the lookup() pathoffset - offset into newPath to start lookup.
public boolean exists()
Path
exists in class Pathpublic boolean isFile()
Path
isFile in class Pathpublic boolean isDirectory()
Path
isDirectory in class Pathpublic boolean canRead()
Path
canRead in class Pathpublic boolean canWrite()
Path
canWrite in class Pathpublic long getLength()
Path
getLength in class Pathpublic long getLastModified()
Path
getLastModified in class Pathpublic long getCreateTime()
Path
getCreateTime in class Pathpublic long getLastAccessTime()
Path
getLastAccessTime in class Pathpublic long getCrc64()
Path
getCrc64 in class Path
public java.lang.String[] list()
throws java.io.IOException
list in class Pathjava.io.IOException
public StreamImpl openReadImpl()
throws java.io.IOException
openReadImpl in class Pathjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||