APIdia Launch Partner
Top Description Constructors Methods
sun.nio.fs

pack-priv abstract Class AbstractUserDefinedFileAttributeView

extends Object
implements UserDefinedFileAttributeView, DynamicFileAttributeView
Class Inheritance
All Implemented Interfaces
sun.nio.fs.DynamicFileAttributeView, java.nio.file.attribute.UserDefinedFileAttributeView, java.nio.file.attribute.FileAttributeView, java.nio.file.attribute.AttributeView
Known Direct Subclasses
sun.nio.fs.UnixUserDefinedFileAttributeView
Imports
java.io.IOException, java.nio.ByteBuffer, java.nio.file.attribute.UserDefinedFileAttributeView, java.util.*

Base implementation of UserDefinedAttributeView

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final String
name()

Implements java.nio.file.attribute.UserDefinedFileAttributeView.name.

Returns the name of this attribute view.

public final Map<String, Object>
readAttributes(String[] attributes)

Implements sun.nio.fs.DynamicFileAttributeView.readAttributes.

Reads a set of file attributes as a bulk operation.

public final void
setAttribute(String attribute, Object value)

Implements sun.nio.fs.DynamicFileAttributeView.setAttribute.

Sets/updates the value of an attribute.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractUserDefinedFileAttributeViewback to summary
protected AbstractUserDefinedFileAttributeView()

Method Detail

nameback to summary
public final String name()

Implements java.nio.file.attribute.UserDefinedFileAttributeView.name.

Doc from java.nio.file.attribute.UserDefinedFileAttributeView.name.

Returns the name of this attribute view. Attribute views of this type have the name "user".

Annotations
@Override
readAttributesback to summary
public final Map<String, Object> readAttributes(String[] attributes) throws IOException

Implements sun.nio.fs.DynamicFileAttributeView.readAttributes.

Doc from sun.nio.fs.DynamicFileAttributeView.readAttributes.

Reads a set of file attributes as a bulk operation.

Annotations
@Override
setAttributeback to summary
public final void setAttribute(String attribute, Object value) throws IOException

Implements sun.nio.fs.DynamicFileAttributeView.setAttribute.

Doc from sun.nio.fs.DynamicFileAttributeView.setAttribute.

Sets/updates the value of an attribute.

Annotations
@Override