groupExecuteModeBit, groupReadModeBit, groupWriteModeBit, othersExecuteModeBit, othersReadModeBit, othersWriteModeBit, ownerExecuteModeBit, ownerReadModeBit, ownerWriteModeBit, saveSwappedTextModeBit, separator, separatorChar, setGroupIdOnExecuteModeBit, setUserIdOnExecuteModeBit| Constructor and Description |
|---|
Nfs3File(Nfs3File parent,
java.lang.String child)
The most efficient constructor if the parent file already exists.
|
Nfs3File(Nfs3 nfs,
java.lang.String path)
The basic constructor.
|
Nfs3File(Nfs3 nfs,
java.lang.String path,
LinkTracker<Nfs3,Nfs3File> linkTracker)
The basic constructor plus link tracking.
|
| Modifier and Type | Method and Description |
|---|---|
Nfs3File |
newChildFile(java.lang.String childName)
Creates a new file with the current file as its parent directory.
|
protected Nfs3File |
newFile(java.lang.String path,
LinkTracker<Nfs3,Nfs3File> linkTracker)
This creates a new file with arbitrary path, using the given LinkTracker.
|
access, canDelete, canExecute, canExtend, canLookup, canModify, canRead, commit, compareTo, create, createNewFile, delete, equals, exists, followLinks, followLinks, fsinfo, fsstat, getAbsolutePath, getAccess, getattr, getAttributes, getChildFile, getChildFiles, getFileHandle, getFreeSpace, getMode, getName, getNfs, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isDirectory, isFile, isRootFile, lastModified, length, lengthEx, link, list, list, listFiles, listFiles, listFiles, lookup, makeAccessRequest, makeChildPath, makeCommitRequest, makeCreateRequest, makeFsInfoRequest, makeFsStatRequest, makeGetAttrRequest, makeLinkRequest, makeLookupRequest, makeMkdirRequest, makeMknodRequest, makeName, makeParentPath, makePathconfRequest, makeReaddirplusRequest, makeReaddirRequest, makeReadlinkRequest, makeReadRequest, makeRemoveRequest, makeRenameRequest, makeRmdirRequest, makeSetAttrRequest, makeSymlinkRequest, makeWriteRequest, mkdir, mkdir, mkdirs, mknod, newFile, pathconf, read, readdir, readdir, readdirplus, readdirplus, readlink, remove, rename, renameTo, rmdir, setattr, setAttributes, setFileHandle, setLastModified, setMode, setPathFields, symlink, toString, write, writepublic Nfs3File(Nfs3 nfs, java.lang.String path) throws java.io.IOException
nfs - The supporting NFS client.path - The full path of the file, starting with the mount point.java.io.IOExceptionpublic Nfs3File(Nfs3 nfs, java.lang.String path, LinkTracker<Nfs3,Nfs3File> linkTracker) throws java.io.IOException
nfs - The supporting NFS client.path - The full path of the file, starting with the mount point.linkTracker - The tracker to use. This must be passed so that monitoring is
continued until the link resolves to a file that is not a
symbolic link.java.io.IOExceptionpublic Nfs3File(Nfs3File parent, java.lang.String child) throws java.io.IOException
parent - The parent file, stored to reduce lookup overheadchild - The short name of the file, starting from the parent path.java.io.IOExceptionpublic Nfs3File newChildFile(java.lang.String childName) throws java.io.IOException
NfsFilejava.io.IOExceptionprotected Nfs3File newFile(java.lang.String path, LinkTracker<Nfs3,Nfs3File> linkTracker) throws java.io.IOException
NfsFileBasenewFile in class NfsFileBase<Nfs3,Nfs3File>path - the absolute path from the mount point.linkTracker - The tracker to use. This must be passed so that monitoring is
continued until the link resolves to a file that is not a
symbolic link.java.io.IOException