public class DefaultConfigurableBinaryAttributeDetector extends SchemaBinaryAttributeDetector implements ConfigurableBinaryAttributeDetector
Modifier and Type | Field and Description |
---|---|
static String[] |
DEFAULT_BINARY_ATTRIBUTES
A list of all the known binary attributes
|
Constructor and Description |
---|
DefaultConfigurableBinaryAttributeDetector()
Creates a new instance of a ConfigurableBinaryAttributeDetector.
|
Modifier and Type | Method and Description |
---|---|
void |
addBinaryAttribute(String... binaryAttributes)
Add some binary Attributes Id to the list of attributes
|
boolean |
isBinary(String attributeId)
Returns true if the attribute specified is not human readible.
|
void |
removeBinaryAttribute(String... binaryAttributes)
Remove some binary Attributes Id from the list of attributes
|
void |
setBinaryAttributes(String... binaryAttributes)
Inject a new set of binary attributes that will replace the old one.
|
setSchemaManager
public static final String[] DEFAULT_BINARY_ATTRIBUTES
public DefaultConfigurableBinaryAttributeDetector()
public boolean isBinary(String attributeId)
isBinary
in interface BinaryAttributeDetector
isBinary
in class SchemaBinaryAttributeDetector
attributeId
- the identifier/descriptor for the attribute to be checked.public void addBinaryAttribute(String... binaryAttributes)
addBinaryAttribute
in interface ConfigurableBinaryAttributeDetector
binaryAttributes
- The added binary attributes Idpublic void removeBinaryAttribute(String... binaryAttributes)
removeBinaryAttribute
in interface ConfigurableBinaryAttributeDetector
binaryAttributes
- The binary attributes Id to removepublic void setBinaryAttributes(String... binaryAttributes)
setBinaryAttributes
in interface ConfigurableBinaryAttributeDetector
binaryAttributes
- The new set of binary attributesCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.