| 1 | |
package org.webslinger.commons.vfs.handlers.attributes; |
| 2 | |
|
| 3 | |
import org.apache.commons.vfs.FileSystemException; |
| 4 | |
|
| 5 | |
import org.webslinger.util.TTLCachedObject; |
| 6 | |
|
| 7 | |
public interface AttributeMapper { |
| 8 | |
void deleteAttributes() throws FileSystemException; |
| 9 | |
void refresh() throws FileSystemException; |
| 10 | |
TTLCachedObject<Object> getAttribute(String attrName) throws FileSystemException; |
| 11 | |
boolean attributeExists(String attrName) throws FileSystemException; |
| 12 | |
String[] getAttributeNames() throws FileSystemException; |
| 13 | |
void setAttribute(String attrName, Object value) throws FileSystemException; |
| 14 | |
void removeAttribute(String attrName) throws FileSystemException; |
| 15 | |
} |