public class JndiPath extends FilesystemPath
Path.FileChannelFactory| Modifier and Type | Field and Description |
|---|---|
protected static L10N |
L |
protected static java.util.logging.Logger |
log |
_bindRoot, _pathname, _root, _userPath_pathSeparatorChar, _schemeMap, _separatorChar| Modifier | Constructor and Description |
|---|---|
|
JndiPath()
Creates a new JndiPath root.
|
protected |
JndiPath(FilesystemPath root,
java.lang.String userPath,
java.lang.String path)
Create a new JndiPath with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
fsWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> attributes,
java.lang.String path)
Walking down the path just stores the new name in the created Path.
|
java.lang.Object |
getObject()
Returns the object bound at this path.
|
java.lang.String |
getScheme()
The scheme is always "jndi:".
|
boolean |
mkdir()
Create a new subcontext
|
void |
setObject(java.lang.Object value)
Sets the object bound at this path.
|
bind, createRoot, equals, getFullPath, getParent, getPath, getRoot, getTail, getUserPath, hashCode, init, normalizePath, normalizePath, schemeWalk, setUserPathcacheCopy, canExecute, canRead, canWrite, changeGroup, changeGroup, changeOwner, changeOwner, chmod, clearStatusCache, compareTo, copy, createDepend, createLink, createNewFile, createRoot, createTempFile, escapeURL, exists, fileChannelFactory, getAttribute, getAttributeNames, getBlockCount, getBlockSize, getCache, getCertificates, getContentType, getCrc64, getCreateTime, getDevice, getDeviceId, getDiskSpaceFree, getDiskSpaceTotal, getFileSeparatorChar, getGroup, getHost, getInode, getLastAccessTime, getLastModified, getLastStatusChangeTime, getLength, getMode, getNativePath, getNewlineString, getNumberOfLinks, getOwner, getPathSeparatorChar, getPort, getQuery, getRelativePath, getResources, getResources, getSchemeMap, getSeparatorChar, getURL, getUser, getUserDir, getValue, isBlockDevice, isCharacterDevice, isDirectory, isExecutable, isFIFO, isFile, isHardLink, isLink, isObject, isPathCacheable, isSocket, isSymbolicLink, isWindows, isWindowsInsecure, iterator, list, lookup, lookup, lookup, lookupChild, lookupImpl, lookupNative, lookupNative, lookupRelativeNativePath, mkdirs, openAppend, openAppendImpl, openFileRandomAccess, openMemoryMappedFile, openRandomAccess, openRead, openReadImpl, openReadWrite, openReadWrite, openReadWrite, openReadWriteImpl, openWrite, openWriteImpl, putCache, readLink, realPath, remove, removeAll, renameTo, renameTo, scanScheme, sendfile, setDefaultSchemeMap, setExecutable, setLastModified, setTestWindows, setValue, toString, truncate, truncate, unbind, unwrap, writeToStream, writeToStreamprotected static final java.util.logging.Logger log
protected static final L10N L
public JndiPath()
protected JndiPath(FilesystemPath root, java.lang.String userPath, java.lang.String path)
public Path fsWalk(java.lang.String userPath, java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String path)
fsWalk in class FilesystemPathuserPath - the string used in the lookup call.attributes - any inherited attributes.path - the normalized slash-separated path.public java.lang.String getScheme()
public boolean mkdir()
throws java.io.IOException
public java.lang.Object getObject()
throws java.io.IOException