Package org.citydb.file.output
Class OutputFileFactory
- java.lang.Object
-
- org.citydb.file.output.OutputFileFactory
-
public class OutputFileFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OutputFileFactory(Config config, EventDispatcher eventDispatcher)
OutputFileFactory(Config config, EventDispatcher eventDispatcher, java.lang.Object eventChannel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputFile
createOutputFile(java.nio.file.Path file, OutputFormat outputFormat)
static FileType
getFileType(java.nio.file.Path file)
static OutputFormat
getOutputFormat(java.nio.file.Path file, Config config)
-
-
-
Constructor Detail
-
OutputFileFactory
public OutputFileFactory(Config config, EventDispatcher eventDispatcher, java.lang.Object eventChannel)
-
OutputFileFactory
public OutputFileFactory(Config config, EventDispatcher eventDispatcher)
-
-
Method Detail
-
createOutputFile
public OutputFile createOutputFile(java.nio.file.Path file, OutputFormat outputFormat) throws java.io.IOException
- Throws:
java.io.IOException
-
getFileType
public static FileType getFileType(java.nio.file.Path file)
-
getOutputFormat
public static OutputFormat getOutputFormat(java.nio.file.Path file, Config config)
-
-