public static final class TruffleFile.Attributes extends Object
getAttributes.| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(TruffleFile.AttributeDescriptor<T> descriptor)
Returns the attribute value.
|
public <T> T get(TruffleFile.AttributeDescriptor<T> descriptor)
descriptor - the attribute to obtain value fornull if the filesystem doesn't support
the attribute.IllegalArgumentException - if the view was not created for the given attribute