Lines Matching defs:LDIF
36 * LDAP Data Interchange Format (LDIF) is a file format used to
41 * TARGET="_blank">The LDAP Data Interchange Format (LDIF) -
45 * This class implements an LDIF file parser. You can construct
46 * an object of this class to parse data in LDIF format and
53 public class LDIF implements Serializable {
62 * Constructs an <CODE>LDIF</CODE> object to parse the
66 public LDIF() throws IOException {
75 * Constructs an <CODE>LDIF</CODE> object to parse the
76 * LDIF data read from a specified file.
77 * @param file the name of the LDIF file to parse
80 public LDIF(String file) throws IOException {
90 * Constructs an <CODE>LDIF</CODE> object to parse the
91 * LDIF data read from an input stream.
92 * @param dstThe input stream providing the LDIF data
95 public LDIF(DataInputStream ds) throws IOException {
103 * Returns the next record in the LDIF data. You can call this
104 * method repeatedly to iterate through all records in the LDIF data.
585 * String according to the LDIF specification. If not, the array should
588 * output as a String according to the LDIF specification; otherwise,
602 * Outputs the String in LDIF line-continuation format. No line will be longer
631 * Gets the version of LDIF used in the data.
632 * @return version of LDIF used in the data.
640 * entire LDIF file.
641 * @return the string representation of the entire LDIF data file.
644 return "LDIF {" + m_source + "}";
648 * Throws a LDIF file exception including the current line number.
741 * the LDIF rules (encode in base64 if necessary)
768 * Test driver - just reads and parses an LDIF file, printing
771 * @param args name of the LDIF file to parse
775 System.out.println( "Usage: java LDIF <FILENAME>" );
778 LDIF ldif = null;
780 ldif = new LDIF( args[0] );
782 System.err.println("Failed to read LDIF file " + args[0] +