Class SortControl2
java.lang.Object
javax.naming.ldap.BasicControl
org.openehealth.ipf.commons.ihe.hpd.controls.sorting.SortControl2
- All Implemented Interfaces:
Serializable,Control
This class is necessary because:
- JDK does not provide a BER parser for SortControl
- SortControl does not expose sorting keys
- Since:
- 4.3
- Author:
- Dmytro Rud
- See Also:
-
Field Summary
Fields inherited from class javax.naming.ldap.BasicControl
criticality, id, valueFields inherited from interface javax.naming.ldap.Control
CRITICAL, NONCRITICAL -
Constructor Summary
ConstructorsConstructorDescriptionSortControl2(boolean criticality, SortKey... keys) SortControl2(byte[] berBytes, boolean criticality) -
Method Summary
Methods inherited from class javax.naming.ldap.BasicControl
getID, isCritical
-
Constructor Details
-
SortControl2
- Throws:
IOException
-
SortControl2
- Throws:
IOException
-
-
Method Details
-
getEncodedValue
public byte[] getEncodedValue()- Specified by:
getEncodedValuein interfaceControl- Overrides:
getEncodedValuein classBasicControl
-
toString
-
equals
-
getKeys
-