org.exist.backup
Interface BackupWriter
- All Known Implementing Classes:
- FileSystemWriter, ZipWriter
public interface BackupWriter
Helper interface for writing backups. Serves as an abstraction for writing
to different targets like directories or zip files.
newContents
Writer newContents()
throws IOException
- Throws:
IOException
closeContents
void closeContents()
throws IOException
- Throws:
IOException
newEntry
OutputStream newEntry(String name)
throws IOException
- Throws:
IOException
closeEntry
void closeEntry()
throws IOException
- Throws:
IOException
newCollection
void newCollection(String name)
closeCollection
void closeCollection()
close
void close()
throws IOException
- Throws:
IOException
Copyright (C) Wolfgang Meier. All rights reserved.