public class LdapEntry
extends java.lang.Object
Constructor and Description |
---|
LdapEntry(java.lang.String dn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrName(int ii)
Returns the attribute name
stored in the specified row of the
attrs matrix. |
java.lang.String[] |
getAttrNames()
Returns a 1-dimensional array of the attribute names
stored in the
attrs matrix. |
int |
getAttrsRows()
Returns the number of rows in the
attrs matrix. |
java.lang.String[] |
getAttrStrings(int irow)
Returns a 1-dimensional array of the values associated
with the specified row of the
attrs matrix. |
java.lang.String[] |
getAttrStrings(java.lang.String attrName)
Returns a 1-dimensional array of the values associated
with the specified attribute name.
|
java.lang.String |
getDn()
Returns the dn (distinguished name) associated with this entry.
|
java.lang.String |
toString()
Returns a String representation of the entire set of attributes
represented by this LdapEntry.
|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDn()
public int getAttrsRows()
attrs
matrix.public java.lang.String[] getAttrNames()
attrs
matrix.public java.lang.String getAttrName(int ii)
attrs
matrix.public java.lang.String[] getAttrStrings(int irow)
attrs
matrix.
If no values were associated with the attribute name,
returns a length 0 array.public java.lang.String[] getAttrStrings(java.lang.String attrName)