| | |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2016 ForgeRock AS. |
| | | * Portions Copyright 2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.guitools.controlpanel.ui; |
| | | |
| | |
| | | import java.awt.event.ItemListener; |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.nio.file.Files; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.Collections; |
| | |
| | | final TemplateFile generator = new TemplateFile(resourceDir.getAbsolutePath(), new Random(0)); |
| | | generator.parse(templateFile.getAbsolutePath(), Collections.<LocalizableMessage>emptyList()); |
| | | |
| | | final File tempFile = File.createTempFile("opendj-control-panel", ".ldif"); |
| | | final File tempFile = Files.createTempFile("opendj-control-panel", ".ldif").toFile(); |
| | | tempFile.deleteOnExit(); |
| | | final String generatedLdifFilePath = tempFile.getAbsolutePath(); |
| | | |