| | |
| | | import org.opends.server.types.ExistingFileBehavior; |
| | | import org.opends.server.util.LDIFWriter; |
| | | import org.opends.server.util.LDIFException; |
| | | import org.opends.messages.Message; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.Random; |
| | |
| | | throws IOException, InitializationException, MakeLDIFException |
| | | { |
| | | TemplateFile template = new TemplateFile(resourcePath, new Random(1)); |
| | | ArrayList<String> warnings = new ArrayList<String>(); |
| | | ArrayList<Message> warnings = new ArrayList<Message>(); |
| | | template.parse(templatePath, warnings); |
| | | makeLdif(ldifPath, template); |
| | | } |
| | |
| | | throws IOException, InitializationException, MakeLDIFException |
| | | { |
| | | TemplateFile template = new TemplateFile(resourcePath, new Random(1)); |
| | | ArrayList<String> warnings = new ArrayList<String>(); |
| | | ArrayList<Message> warnings = new ArrayList<Message>(); |
| | | template.parse(templateLines, warnings); |
| | | makeLdif(ldifPath, template); |
| | | } |