@NotThreadSafe public class UfsDirectoryStatus extends UfsStatus
mGroup, mIsDirectory, mLastModifiedTimeMs, mMode, mName, mOwner, mUfsFullPath, mXAttr
Constructor and Description |
---|
UfsDirectoryStatus(String name,
String owner,
String group,
short mode)
Creates new instance of
UfsDirectoryStatus without providing last modified time or
extended attributes. |
UfsDirectoryStatus(String name,
String owner,
String group,
short mode,
Long lastModifiedTimeMs)
Creates new instance of
UfsDirectoryStatus . |
UfsDirectoryStatus(String name,
String owner,
String group,
short mode,
Long lastModifiedTimeMs,
Map<String,byte[]> xAttr)
Creates new instance of
UfsDirectoryStatus . |
UfsDirectoryStatus(UfsDirectoryStatus status)
Creates a new instance of under directory information as a copy.
|
Modifier and Type | Method and Description |
---|---|
UfsDirectoryStatus |
copy()
Create a copy of
UfsStatus . |
String |
toString() |
asUfsFileStatus, convertToNames, equals, fromProto, getGroup, getLastModifiedTime, getMode, getName, getOwner, getUfsFullPath, getXAttr, hashCode, isDirectory, isFile, setName, setUfsFullPath, toProto, toStringHelper
public UfsDirectoryStatus(String name, String owner, String group, short mode, Long lastModifiedTimeMs, @Nullable Map<String,byte[]> xAttr)
UfsDirectoryStatus
.name
- relative path of directoryowner
- of the directorygroup
- of the directorymode
- of the directorylastModifiedTimeMs
- of the directoryxAttr
- extended attributes, if anypublic UfsDirectoryStatus(String name, String owner, String group, short mode, Long lastModifiedTimeMs)
UfsDirectoryStatus
.name
- relative path of directoryowner
- of the directorygroup
- of the directorymode
- of the directorylastModifiedTimeMs
- of the directorypublic UfsDirectoryStatus(String name, String owner, String group, short mode)
UfsDirectoryStatus
without providing last modified time or
extended attributes.name
- relative path of directoryowner
- of the directorygroup
- of the directorymode
- of the directorypublic UfsDirectoryStatus(UfsDirectoryStatus status)
status
- directory information to copyCopyright © 2023. All Rights Reserved.