| 1 | |
package org.webslinger.commons.vfs.handlers.attributes; |
| 2 | |
|
| 3 | |
import java.util.Collection; |
| 4 | |
|
| 5 | |
import org.apache.commons.vfs.FileName; |
| 6 | |
import org.apache.commons.vfs.FileObject; |
| 7 | |
import org.apache.commons.vfs.FileSystem; |
| 8 | |
import org.apache.commons.vfs.FileSystemException; |
| 9 | |
|
| 10 | |
public abstract class DefaultAttributeMapperHandler implements AttributeMapperHandler { |
| 11 | 0 | public DefaultAttributeMapperHandler() { |
| 12 | 0 | } |
| 13 | |
|
| 14 | |
protected abstract FileObject getFile(FileName fileName) throws FileSystemException; |
| 15 | |
|
| 16 | |
public AttributeMapper getAttributeMapper(FileName fileName) throws FileSystemException { |
| 17 | 0 | return new DefaultAttributeMapper(getFile(fileName)); |
| 18 | |
} |
| 19 | |
|
| 20 | |
public void excludeNames(Collection<String> names) { |
| 21 | 0 | } |
| 22 | |
} |