public abstract Object getAttribute (String attribute) throws IOException

Reads the value of a file store attribute.

The attribute parameter identifies the attribute to be read and takes the form:

where the character ':' stands for itself.

view-name is the name of a AttributeView that identifies a set of file attributes. attribute-name is the name of the attribute.

Usage Example: Suppose we want to know if ZFS compression is enabled (assuming the "zfs" view is supported):

    boolean compression = (Boolean)fs.getAttribute("zfs:compression");

attribute     the attribute to read

Returns:  the attribute value; null may be a valid valid for some attributes

UnsupportedOperationException     if the attribute view is not available or it does not support reading the attribute
IOException     if an I/O error occurs