Class SchemaBinaryAttributeDetector
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.api.SchemaBinaryAttributeDetector
-
- All Implemented Interfaces:
BinaryAttributeDetector
- Direct Known Subclasses:
DefaultConfigurableBinaryAttributeDetector
public class SchemaBinaryAttributeDetector extends Object implements BinaryAttributeDetector
An implementation of the BinaryAttributeDetector interface. It's not schema aware, so it only uses the list of binary Attributes.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSchemaBinaryAttributeDetector()SchemaBinaryAttributeDetector(SchemaManager schemaManager)Create an instance of SchemaBinaryAttributeDetector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBinary(String attributeId)Returns true if the attribute specified is not human readible.voidsetSchemaManager(SchemaManager schemaManager)
-
-
-
Constructor Detail
-
SchemaBinaryAttributeDetector
protected SchemaBinaryAttributeDetector()
-
SchemaBinaryAttributeDetector
public SchemaBinaryAttributeDetector(SchemaManager schemaManager)
Create an instance of SchemaBinaryAttributeDetector.- Parameters:
schemaManager- The SchemaManager to use
-
-
Method Detail
-
setSchemaManager
public void setSchemaManager(SchemaManager schemaManager)
- Parameters:
schemaManager- the schemaManager to set
-
isBinary
public boolean isBinary(String attributeId)
Returns true if the attribute specified is not human readible.- Specified by:
isBinaryin interfaceBinaryAttributeDetector- Parameters:
attributeId- the identifier/descriptor for the attribute to be checked.- Returns:
- true if the attribute specified is not human readible, false otherwise
-
-