public class ConfluenceTempDirExportFileNameGenerator extends Object implements ExportFileNameGenerator
| Constructor and Description |
|---|
ConfluenceTempDirExportFileNameGenerator(BootstrapManager bootstrapManager,
String exportDirPrefix,
String extension,
String dateFormat,
String timeFormat)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ExportFileNameGenerator |
create(ConfluenceDirectories confluenceDirectories,
String exportDirPrefix,
String extension,
String dateFormat,
String timeFormat) |
File |
createExportDirectory()
Create a unique directory within which an export operation can create any necessary files and final output.
|
String |
getExportFileName(String... differentiators)
Generate a unique file name encompassing the differentiator parameters supplied.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportFile@Deprecated public ConfluenceTempDirExportFileNameGenerator(BootstrapManager bootstrapManager, String exportDirPrefix, String extension, String dateFormat, String timeFormat)
create(ConfluenceDirectories, String, String, String, String)public static ExportFileNameGenerator create(ConfluenceDirectories confluenceDirectories, String exportDirPrefix, String extension, String dateFormat, String timeFormat)
public File createExportDirectory() throws IOException
ExportFileNameGeneratorcreateExportDirectory in interface ExportFileNameGeneratorIOException - if there is a problem creating the output directory.public String getExportFileName(String... differentiators)
ExportFileNameGeneratorgetExportFileName in interface ExportFileNameGeneratordifferentiators - 0 or more components that will be used in creation of the file name.Copyright © 2003–2022 Atlassian. All rights reserved.