netscape.ldap.util
Class LDIFDeleteContent
- LDIFContent, java.io.Serializable
public class LDIFDeleteContent
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
.
LDIFDeleteContent() - Constructs an
LDIFDeleteContent object
to specify that an entry should be deleted.
|
int | getType() - Returns the content type.
|
String | toString() - Returns the string representation of the content of the LDIF record.
|
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.
- getType in interface LDIFContent
- the content type (which is
LDIFContent.DELETE_CONTENT
).
toString
public String toString()
Returns the string representation of the content of the LDIF record.
- toString in interface LDIFContent
- the string representation of the content of the LDIF record.