| | |
| | | import java.util.Random; |
| | | |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.ExistingFileBehavior; |
| | | import org.opends.server.types.LDIFExportConfig; |
| | | import org.opends.server.types.NullOutputStream; |
| | |
| | | * |
| | | * @throws MakeLDIFException If some other problem occurs. |
| | | */ |
| | | public boolean writeEntry(Entry entry) |
| | | public boolean writeEntry(TemplateEntry entry) |
| | | throws IOException, MakeLDIFException |
| | | { |
| | | try |
| | | { |
| | | ldifWriter.writeEntry(entry); |
| | | ldifWriter.writeTemplateEntry(entry); |
| | | |
| | | if ((++entriesWritten % 1000) == 0) |
| | | { |