| com.caucho.vfs.ClasspathPath
ClasspathPath | public class ClasspathPath extends FilesystemPath (Code) | | The classpath scheme.
|
Field Summary | |
protected static L10N | L |
Constructor Summary | |
public | ClasspathPath(FilesystemPath root, String userPath, String path) Creates a new classpath sub path. |
Method Summary | |
public boolean | canRead() Returns true if the file is readable. | public boolean | exists() Returns true if the file exists. | public Path | fsWalk(String userPath, Map<String, Object> attributes, String path) Lookup the actual path relative to the filesystem root. | public String | getScheme() Returns the scheme, http. | public boolean | isDirectory() Returns the last modified time. | public boolean | isFile() Returns true if the file exists. | public StreamImpl | openReadImpl() Returns a read stream for a GET request. | public String | toString() Returns the string form of the http path. |
L | protected static L10N L(Code) | | |
ClasspathPath | public ClasspathPath(FilesystemPath root, String userPath, String path)(Code) | | Creates a new classpath sub path.
Parameters: root - the classpath filesystem root Parameters: userPath - the argument to the calling lookup() Parameters: newAttributes - any attributes passed to http Parameters: path - the full normalized path Parameters: query - any query string |
canRead | public boolean canRead()(Code) | | Returns true if the file is readable.
|
exists | public boolean exists()(Code) | | Returns true if the file exists.
|
fsWalk | public Path fsWalk(String userPath, Map<String, Object> attributes, String path)(Code) | | Lookup the actual path relative to the filesystem root.
Parameters: userPath - the user's path to lookup() Parameters: attributes - the user's attributes to lookup() Parameters: path - the normalized path the selected path |
getScheme | public String getScheme()(Code) | | Returns the scheme, http.
|
isDirectory | public boolean isDirectory()(Code) | | Returns the last modified time.
|
isFile | public boolean isFile()(Code) | | Returns true if the file exists.
|
openReadImpl | public StreamImpl openReadImpl() throws IOException(Code) | | Returns a read stream for a GET request.
|
toString | public String toString()(Code) | | Returns the string form of the http path.
|
|
|