org.kie.commons.java.nio.base
Class AbstractBasicFileAttributeView<P extends Path>
java.lang.Object
org.kie.commons.java.nio.base.AbstractBasicFileAttributeView<P>
- All Implemented Interfaces:
- ExtendedAttributeView, AttributeView, BasicFileAttributeView, FileAttributeView
- Direct Known Subclasses:
- VersionAttributeView
public abstract class AbstractBasicFileAttributeView<P extends Path>
- extends Object
- implements BasicFileAttributeView, ExtendedAttributeView
|
Field Summary |
protected P |
path
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected final P extends Path path
AbstractBasicFileAttributeView
public AbstractBasicFileAttributeView(P path)
name
public String name()
- Specified by:
name in interface AttributeView
setTimes
public void setTimes(FileTime lastModifiedTime,
FileTime lastAccessTime,
FileTime createTime)
throws IOException
- Specified by:
setTimes in interface BasicFileAttributeView
- Throws:
IOException
readAllAttributes
public Map<String,Object> readAllAttributes()
- Specified by:
readAllAttributes in interface ExtendedAttributeView
readAttributes
public Map<String,Object> readAttributes(String... attributes)
- Specified by:
readAttributes in interface ExtendedAttributeView
setAttribute
public void setAttribute(String attribute,
Object value)
throws IOException
- Specified by:
setAttribute in interface ExtendedAttributeView
- Throws:
IOException
isSerializable
public boolean isSerializable()
- Specified by:
isSerializable in interface ExtendedAttributeView
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.