public class DublinCoreView extends AbstractBasicFileAttributeView<AbstractPath> implements NeedsPreloadedAttrs
path| Constructor and Description |
|---|
DublinCoreView(AbstractPath path) |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
DublinCoreAttributes |
readAttributes() |
Map<String,Object> |
readAttributes(String... attributes) |
void |
setAttribute(String attribute,
Object value) |
Class<? extends BasicFileAttributeView>[] |
viewTypes() |
isSerializable, readAllAttributes, setTimespublic DublinCoreView(AbstractPath path)
public String name()
name in interface AttributeViewname in class AbstractBasicFileAttributeView<AbstractPath>public DublinCoreAttributes readAttributes() throws IOException
readAttributes in interface ExtendedAttributeViewreadAttributes in interface BasicFileAttributeViewIOExceptionpublic Map<String,Object> readAttributes(String... attributes)
readAttributes in interface ExtendedAttributeViewreadAttributes in class AbstractBasicFileAttributeView<AbstractPath>public Class<? extends BasicFileAttributeView>[] viewTypes()
viewTypes in interface ExtendedAttributeViewpublic void setAttribute(String attribute, Object value) throws IOException
setAttribute in interface ExtendedAttributeViewsetAttribute in class AbstractBasicFileAttributeView<AbstractPath>IOExceptionCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.