public final class SchemaToLdif
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
HEADER
The ASF Header
|
private static org.slf4j.Logger |
LOG
The logger
|
| Modifier | Constructor and Description |
|---|---|
private |
SchemaToLdif()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
generate(Schema schema)
Generate the ldif from a schema.
|
static void |
transform(java.util.List<Schema> schemas)
This method takes a list of schema and transform them to Ldif files
|
private static final java.lang.String HEADER
private static final org.slf4j.Logger LOG
public static void transform(java.util.List<Schema> schemas) throws ParserException
schemas - The list of schema to be transformedParserException - If we get an error while converting the schemasprivate static void generate(Schema schema) throws java.lang.Exception
schema - The schema to transfomjava.lang.Exception - If the conversion fails