Package org.eclipse.ecf.filetransfer
Interface IRemoteFileAttributes
-
- All Known Implementing Classes:
LocalRemoteFileAttributes,URLRemoteFileAttributes
public interface IRemoteFileAttributesRemote file attributes. These attributes represent characteristics of remote files (e.g. read only, writeable, executable, archive, etc.).
-
-
Field Summary
Fields Modifier and Type Field Description static StringARCHIVE_ATTRIBUTEstatic StringEXEC_ATTRIBUTEstatic StringHIDDEN_ATTRIBUTEstatic StringREAD_ATTRIBUTEstatic StringSYMLINK_ATTRIBUTEstatic StringSYMLINK_TARGET_ATTRIBUTEstatic StringWRITE_ATTRIBUTE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttribute(String key)Get file attribute with given key.IteratorgetAttributeKeys()Get all of the attribute keys in this map of file attributes.voidsetAttribute(String key, String value)Set a given attribute value in this remote file attributes.
-
-
-
Field Detail
-
READ_ATTRIBUTE
static final String READ_ATTRIBUTE
- See Also:
- Constant Field Values
-
WRITE_ATTRIBUTE
static final String WRITE_ATTRIBUTE
- See Also:
- Constant Field Values
-
EXEC_ATTRIBUTE
static final String EXEC_ATTRIBUTE
- See Also:
- Constant Field Values
-
ARCHIVE_ATTRIBUTE
static final String ARCHIVE_ATTRIBUTE
- See Also:
- Constant Field Values
-
HIDDEN_ATTRIBUTE
static final String HIDDEN_ATTRIBUTE
- See Also:
- Constant Field Values
-
SYMLINK_ATTRIBUTE
static final String SYMLINK_ATTRIBUTE
- See Also:
- Constant Field Values
-
SYMLINK_TARGET_ATTRIBUTE
static final String SYMLINK_TARGET_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttribute
String getAttribute(String key)
Get file attribute with given key. Returnsnullif attribute not in this map of attributes.- Parameters:
key- to use to find the given attribute. Must not benull.- Returns:
- value of attribute.
nullif not found.
-
getAttributeKeys
Iterator getAttributeKeys()
Get all of the attribute keys in this map of file attributes.- Returns:
- Iterator of the attribute keys for this map. Will not return
null.
-
-