public final class FileAttributeViewRegistry extends Object
FileAttributeViewFactory
s.
Factories may be retrived by view name, view type, or attribute type.Modifier and Type | Class and Description |
---|---|
static class |
FileAttributeViewRegistry.Builder
Builds
FileAttributeViewRegistry objects. |
Modifier and Type | Method and Description |
---|---|
static FileAttributeViewRegistry.Builder |
builder() |
FileAttributeViewFactory<?> |
getByAttributesType(Class<? extends BasicFileAttributes> type) |
FileAttributeViewFactory<?> |
getByViewName(String viewName) |
FileAttributeViewFactory<?> |
getByViewType(Class<? extends FileAttributeView> type) |
Set<String> |
getRegisteredViews() |
public static FileAttributeViewRegistry.Builder builder()
public FileAttributeViewFactory<?> getByViewName(String viewName)
public FileAttributeViewFactory<?> getByViewType(Class<? extends FileAttributeView> type)
public FileAttributeViewFactory<?> getByAttributesType(Class<? extends BasicFileAttributes> type)