Class LocalRemoteFileAttributes

    • Constructor Detail

      • LocalRemoteFileAttributes

        public LocalRemoteFileAttributes​(File file)
    • Method Detail

      • getAttribute

        public String getAttribute​(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.
      • setAttribute

        public void setAttribute​(String key,
                                 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.