public interface IFileAttributes<K,V>
Implementations will likely contain more specific methods like
getFileName(), isWriteProtected(), etc.
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<K,V> |
getAllAttributes()
Returns all attributes and its values.
|
V |
getAttribute(K pKey)
Returns the value for an attribute with the given name.
|
java.lang.String |
getAttribute(java.lang.String pKey)
Returns the value of the attribute with the given name.
|
void |
setAttribute(K pKey,
V pValue)
Adds a new file attribute.
|
V getAttribute(K pKey)
pKey - the name of a file attributenullvoid setAttribute(K pKey, V pValue)
pKey - the name of the file attributepValue - the value to which the file attribute should be setjava.util.Map<K,V> getAllAttributes()
java.lang.String getAttribute(java.lang.String pKey)
pKey - the name of the file attributeCopyright © 2015 Micro Focus GmbH. All rights reserved.