@InterfaceAudience.Public 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 nameMap<String,byte[]> getAttributesMap()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.