org.eclipse.ecf.provider.filetransfer.browse
Class URLRemoteFileAttributes

java.lang.Object
  extended by org.eclipse.ecf.provider.filetransfer.browse.URLRemoteFileAttributes
All Implemented Interfaces:
IRemoteFileAttributes

public class URLRemoteFileAttributes
extends java.lang.Object
implements IRemoteFileAttributes


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
URLRemoteFileAttributes()
           
 
Method Summary
 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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLRemoteFileAttributes

public URLRemoteFileAttributes()
Method Detail

getAttribute

public java.lang.String getAttribute(java.lang.String key)
Description copied from interface: IRemoteFileAttributes
Get file attribute with given key. Returns null if attribute not in this map of attributes.

Specified by:
getAttribute in interface IRemoteFileAttributes
Parameters:
key - to use to find the given attribute. Must not be null.
Returns:
value of attribute. null if not found.

getAttributeKeys

public java.util.Iterator getAttributeKeys()
Description copied from interface: IRemoteFileAttributes
Get all of the attribute keys in this map of file attributes.

Specified by:
getAttributeKeys in interface IRemoteFileAttributes
Returns:
Iterator of the attribute keys for this map. Will not return null.

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)
Description copied from interface: IRemoteFileAttributes
Set a given attribute value in this remote file attributes.

Specified by:
setAttribute in 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.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object