public class LdifParser
extends java.lang.Object
| Constructor and Description |
|---|
LdifParser() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.naming.directory.Attributes |
addAttributes(java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> res,
int lineNumber,
javax.naming.ldap.LdapName currentDn,
javax.naming.directory.Attributes currentAttributes) |
java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> |
read(java.io.InputStream in)
With UTF-8 charset
|
java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> |
read(java.io.Reader reader)
Will close the reader.
|
protected javax.naming.directory.Attributes addAttributes(java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> res,
int lineNumber,
javax.naming.ldap.LdapName currentDn,
javax.naming.directory.Attributes currentAttributes)
public java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> read(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic java.util.SortedMap<javax.naming.ldap.LdapName,javax.naming.directory.Attributes> read(java.io.Reader reader)
throws java.io.IOException
java.io.IOExceptionCopyright © 2007–2020. All rights reserved.