org.apache.directory.shared.converter.schema
Class SchemaToLdif

java.lang.Object
  extended by org.apache.directory.shared.converter.schema.SchemaToLdif

public class SchemaToLdif
extends java.lang.Object

A class used to translate a OpenLdap schema file to a Ldif file compatible with the Apache DS meta schema format

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
SchemaToLdif()
           
 
Method Summary
static void transform(java.util.List<Schema> schemas)
          This method takes a list of schema and transform them to Ldif files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaToLdif

public SchemaToLdif()
Method Detail

transform

public static void transform(java.util.List<Schema> schemas)
                      throws ParserException
This method takes a list of schema and transform them to Ldif files

Parameters:
schemas - The list of schema to be transformed
Throws:
ParserException - If we get an error while converting the schemas


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.