Class BackupFileWriter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.BackupFileWriter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
@NotThreadSafe public final class BackupFileWriter extends Object implements Closeable
Encapsulates creating a new backup file and writing into.- Since:
- 9.0
- Author:
- Leonid Bushuev from JetBrains
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the underlying ZIP writer and deletes the temporary file.void
complete()
-
-
-
Method Detail
-
complete
public void complete() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
Closes the underlying ZIP writer and deletes the temporary file.
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- See Also:
Closeable.close()
-
-