netscape.ldap.util
Class LDIFDeleteContent
java.lang.Object
|
+--netscape.ldap.util.LDIFBaseContent
|
+--netscape.ldap.util.LDIFDeleteContent
- public class LDIFDeleteContent
- extends LDIFBaseContent
An object of this class represents the content of an LDIF record that
specifies the deletion of an entry. This class implements the
LDIFContent
interface.
To get this object from an LDIFRecord
object,
use the getContent
method and cast the return value as
LDIFDeleteContent
.
- See Also:
LDIFRecord.getContent()
, Serialized Form
Constructor Summary |
LDIFDeleteContent()
Constructs an LDIFDeleteContent object
to specify that an entry should be deleted. |
Method Summary |
int |
getType()
Returns the content type. |
java.lang.String |
toString()
Returns the string representation of the content of the LDIF record. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
LDIFDeleteContent
public LDIFDeleteContent()
- Constructs an
LDIFDeleteContent
object
to specify that an entry should be deleted. (The DN
identifying the entry is part of the LDIFRecord
object.
getType
public int getType()
- Returns the content type. You can use this with the
getContent
method of the LDIFRecord
object to determine the type of content specified in the record.
- Returns:
- the content type (which is
LDIFContent.DELETE_CONTENT
). - See Also:
LDIFRecord.getContent()
toString
public java.lang.String toString()
- Returns the string representation of the content of the LDIF record.
- Overrides:
- toString in class java.lang.Object
- Returns:
- the string representation of the content of the LDIF record.