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, wait
getExportFile
@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
ExportFileNameGenerator
createExportDirectory
in interface ExportFileNameGenerator
IOException
- if there is a problem creating the output directory.public String getExportFileName(String... differentiators)
ExportFileNameGenerator
getExportFileName
in interface ExportFileNameGenerator
differentiators
- 0 or more components that will be used in creation of the file name.Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences