Class LocalRemoteFileAttributes
- java.lang.Object
- 
- org.eclipse.ecf.provider.filetransfer.browse.LocalRemoteFileAttributes
 
- 
- All Implemented Interfaces:
- IRemoteFileAttributes
 
 public class LocalRemoteFileAttributes extends Object implements IRemoteFileAttributes File attributes forLocalRemoteFileinstances.
- 
- 
Field Summary- 
Fields inherited from interface org.eclipse.ecf.filetransfer.IRemoteFileAttributesARCHIVE_ATTRIBUTE, EXEC_ATTRIBUTE, HIDDEN_ATTRIBUTE, READ_ATTRIBUTE, SYMLINK_ATTRIBUTE, SYMLINK_TARGET_ATTRIBUTE, WRITE_ATTRIBUTE
 
- 
 - 
Constructor SummaryConstructors Constructor Description LocalRemoteFileAttributes(File file)
 - 
Method SummaryAll Methods Instance Methods Concrete 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.StringtoString()
 
- 
- 
- 
Constructor Detail- 
LocalRemoteFileAttributespublic LocalRemoteFileAttributes(File file) 
 
- 
 - 
Method Detail- 
getAttributepublic String getAttribute(String key) Description copied from interface:IRemoteFileAttributesGet file attribute with given key. Returnsnullif attribute not in this map of attributes.- Specified by:
- getAttributein interface- IRemoteFileAttributes
- Parameters:
- key- to use to find the given attribute. Must not be- null.
- Returns:
- value of attribute.  nullif not found.
 
 - 
getAttributeKeyspublic Iterator getAttributeKeys() Description copied from interface:IRemoteFileAttributesGet all of the attribute keys in this map of file attributes.- Specified by:
- getAttributeKeysin interface- IRemoteFileAttributes
- Returns:
- Iterator of the attribute keys for this map.  Will not return null.
 
 - 
setAttributepublic void setAttribute(String key, String value) Description copied from interface:IRemoteFileAttributesSet a given attribute value in this remote file attributes.- Specified by:
- setAttributein interface- IRemoteFileAttributes
- Parameters:
- key- the key to use for the attribute. Must not be- null.
- value- the value for the given key. Must not be- null.
 
 
- 
 
-