/** * Appends an LDIF-formatted string representation of this entry to the * provided buffer. No wrapping will be performed, and no extra blank lines * will be added. * * @param buffer The buffer to which to append the LDIF representation of * this entry. */ public void toLDIFString(final StringBuilder buffer) { toLDIFString(buffer, 0); }
/** * Appends an LDIF-formatted string representation of this entry to the * provided buffer. No wrapping will be performed, and no extra blank lines * will be added. * * @param buffer The buffer to which to append the LDIF representation of * this entry. */ public void toLDIFString(final StringBuilder buffer) { toLDIFString(buffer, 0); }
/** * Retrieves an LDIF-formatted string representation of this entry. No * wrapping will be performed, and no extra blank lines will be added. * * @return An LDIF-formatted string representation of this entry. */ public String toLDIFString() { final StringBuilder buffer = new StringBuilder(); toLDIFString(buffer, 0); return buffer.toString(); }
/** * Retrieves an LDIF-formatted string representation of this entry. No * wrapping will be performed, and no extra blank lines will be added. * * @return An LDIF-formatted string representation of this entry. */ public String toLDIFString() { final StringBuilder buffer = new StringBuilder(); toLDIFString(buffer, 0); return buffer.toString(); }
/** * Retrieves an LDIF-formatted string representation of this entry. No * extra blank lines will be added. * * @param wrapColumn The column at which long lines should be wrapped. A * value less than or equal to two indicates that no * wrapping should be performed. * * @return An LDIF-formatted string representation of this entry. */ public String toLDIFString(final int wrapColumn) { final StringBuilder buffer = new StringBuilder(); toLDIFString(buffer, wrapColumn); return buffer.toString(); }
/** * Retrieves an LDIF-formatted string representation of this entry. No * extra blank lines will be added. * * @param wrapColumn The column at which long lines should be wrapped. A * value less than or equal to two indicates that no * wrapping should be performed. * * @return An LDIF-formatted string representation of this entry. */ public String toLDIFString(final int wrapColumn) { final StringBuilder buffer = new StringBuilder(); toLDIFString(buffer, wrapColumn); return buffer.toString(); }