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, setTimes
public static final String TAG
public static final String MODE
public OtherMetaView(AbstractPath path)
public String name()
name
in interface AttributeView
name
in class AbstractBasicFileAttributeView<AbstractPath>
public OtherMetaAttributes readAttributes() throws IOException
readAttributes
in interface ExtendedAttributeView
readAttributes
in interface BasicFileAttributeView
IOException
public Map<String,Object> readAttributes(String... attributes)
readAttributes
in interface ExtendedAttributeView
readAttributes
in class AbstractBasicFileAttributeView<AbstractPath>
public Class<? extends BasicFileAttributeView>[] viewTypes()
viewTypes
in interface ExtendedAttributeView
public void setAttribute(String attribute, Object value) throws IOException
setAttribute
in interface ExtendedAttributeView
setAttribute
in class AbstractBasicFileAttributeView<AbstractPath>
IOException
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.