Class LocalRemoteFileAttributes
java.lang.Object
org.eclipse.ecf.provider.filetransfer.browse.LocalRemoteFileAttributes
- All Implemented Interfaces:
IRemoteFileAttributes
File attributes for
LocalRemoteFile
instances.-
Field Summary
Fields inherited from interface org.eclipse.ecf.filetransfer.IRemoteFileAttributes
ARCHIVE_ATTRIBUTE, EXEC_ATTRIBUTE, HIDDEN_ATTRIBUTE, READ_ATTRIBUTE, SYMLINK_ATTRIBUTE, SYMLINK_TARGET_ATTRIBUTE, WRITE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String key) Get file attribute with given key.Get all of the attribute keys in this map of file attributes.void
setAttribute
(String key, String value) Set a given attribute value in this remote file attributes.toString()
-
Constructor Details
-
LocalRemoteFileAttributes
-
-
Method Details
-
getAttribute
Description copied from interface:IRemoteFileAttributes
Get file attribute with given key. Returnsnull
if attribute not in this map of attributes.- Specified by:
getAttribute
in interfaceIRemoteFileAttributes
- Parameters:
key
- to use to find the given attribute. Must not benull
.- Returns:
- value of attribute.
null
if not found.
-
getAttributeKeys
Description copied from interface:IRemoteFileAttributes
Get all of the attribute keys in this map of file attributes.- Specified by:
getAttributeKeys
in interfaceIRemoteFileAttributes
- Returns:
- Iterator of the attribute keys for this map. Will not return
null
.
-
setAttribute
Description copied from interface:IRemoteFileAttributes
Set a given attribute value in this remote file attributes.- Specified by:
setAttribute
in interfaceIRemoteFileAttributes
- Parameters:
key
- the key to use for the attribute. Must not benull
.value
- the value for the given key. Must not benull
.
-
toString
-