public class OtherMetaView extends AbstractBasicFileAttributeView<AbstractPath> implements NeedsPreloadedAttrs
| Modifier and Type | Field and Description |
|---|---|
static String |
MODE |
static String |
TAG |
path| Constructor and Description |
|---|
OtherMetaView(AbstractPath path) |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
OtherMetaAttributes |
readAttributes() |
Map<String,Object> |
readAttributes(String... attributes) |
void |
setAttribute(String attribute,
Object value) |
Class<? extends BasicFileAttributeView>[] |
viewTypes() |
isSerializable, readAllAttributes, setTimespublic static final String TAG
public static final String MODE
public OtherMetaView(AbstractPath path)
public String name()
name in interface AttributeViewname in class AbstractBasicFileAttributeView<AbstractPath>public OtherMetaAttributes 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–2021 JBoss by Red Hat. All rights reserved.