public interface IRemoteFileAttributes
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHIVE_ATTRIBUTE |
static java.lang.String |
EXEC_ATTRIBUTE |
static java.lang.String |
HIDDEN_ATTRIBUTE |
static java.lang.String |
READ_ATTRIBUTE |
static java.lang.String |
SYMLINK_ATTRIBUTE |
static java.lang.String |
SYMLINK_TARGET_ATTRIBUTE |
static java.lang.String |
WRITE_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Get file attribute with given key.
|
java.util.Iterator |
getAttributeKeys()
Get all of the attribute keys in this map of file attributes.
|
void |
setAttribute(java.lang.String key,
java.lang.String value)
Set a given attribute value in this remote file attributes.
|
static final java.lang.String READ_ATTRIBUTE
static final java.lang.String WRITE_ATTRIBUTE
static final java.lang.String EXEC_ATTRIBUTE
static final java.lang.String ARCHIVE_ATTRIBUTE
static final java.lang.String HIDDEN_ATTRIBUTE
static final java.lang.String SYMLINK_ATTRIBUTE
static final java.lang.String SYMLINK_TARGET_ATTRIBUTE
java.lang.String getAttribute(java.lang.String key)
null
if attribute not in
this map of attributes.key
- to use to find the given attribute. Must not be null
.null
if not found.java.util.Iterator getAttributeKeys()
null
.void setAttribute(java.lang.String key, java.lang.String value)
key
- the key to use for the attribute. Must not be null
.value
- the value for the given key. Must not be null
.