V
- the type of view this factory createspublic interface FileAttributeViewFactory<V extends AnnotatedFileAttributeView>
AnnotatedFileAttributeView
s for Paths
.Modifier and Type | Method and Description |
---|---|
Class<? extends BasicFileAttributes> |
attributesType()
Returns the type of attributes read by views created by this factory.
|
V |
newView(Path path,
LinkOption[] options)
Creates a new view for the given path.
|
String |
viewName()
Returns the name of views created by this factory.
|
Class<? extends FileAttributeView> |
viewType()
Returns the base type of views created by this factory.
|
String viewName()
Class<? extends FileAttributeView> viewType()
Class<? extends BasicFileAttributes> attributesType()
V newView(Path path, LinkOption[] options)
path
- the Path
options
- indicates how symbolic links are handled