@InterfaceAudience.Public @InterfaceStability.Stable public interface Attributes
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttribute(String name)
Gets an attribute
|
Map<String,byte[]> |
getAttributesMap()
Gets all attributes
|
Attributes |
setAttribute(String name,
byte[] value)
Sets an attribute.
|
Attributes setAttribute(String name, byte[] value)
name
- attribute namevalue
- attribute valuebyte[] getAttribute(String name)
name
- attribute nameCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.