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 Constructor Description SchemaBinaryAttributeDetector(SchemaManager schemaManager)
Create an instance of SchemaBinaryAttributeDetector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBinary(String attributeId)
Returns true if the attribute specified is not human readible.void
setSchemaManager(SchemaManager schemaManager)
-
-
-
Constructor Detail
-
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:
isBinary
in interfaceBinaryAttributeDetector
- Parameters:
attributeId
- the identifier/descriptor for the attribute to be checked.- Returns:
- true if the attribute specified is not human readible, false otherwise
-
-