T
- The type of the file attribute value.public class SimpleFileAttribute<T> extends Object implements FileAttribute<T>
Constructor and Description |
---|
SimpleFileAttribute(String name,
T value)
Creates a new file attribute.
|
public SimpleFileAttribute(String name, T value)
name
- The attribute name.value
- The attribute value.NullPointerException
- If the name or value is null
.public String name()
name
in interface FileAttribute<T>
public T value()
value
in interface FileAttribute<T>
Copyright © 2016–2023. All rights reserved.