Package org.citydb.citygml.importer.util
Class ImportLogger
- java.lang.Object
-
- org.citydb.citygml.importer.util.ImportLogger
-
public class ImportLogger extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportLogger.ImportLogEntry
-
Constructor Summary
Constructors Constructor Description ImportLogger(java.nio.file.Path logFile, java.nio.file.Path importFile, DatabaseConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(boolean success)
java.lang.String
getDefaultLogFileName()
java.nio.file.Path
getLogFilePath()
void
write(ImportLogger.ImportLogEntry entry)
-
-
-
Constructor Detail
-
ImportLogger
public ImportLogger(java.nio.file.Path logFile, java.nio.file.Path importFile, DatabaseConnection connection) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getLogFilePath
public java.nio.file.Path getLogFilePath()
-
write
public void write(ImportLogger.ImportLogEntry entry) throws java.io.IOException
- Throws:
java.io.IOException
-
getDefaultLogFileName
public java.lang.String getDefaultLogFileName()
-
close
public void close(boolean success) throws java.io.IOException
- Throws:
java.io.IOException
-
-