org.exist.backup
Class FileSystemWriter
java.lang.Object
org.exist.backup.FileSystemWriter
- All Implemented Interfaces:
- BackupWriter
public class FileSystemWriter
- extends Object
- implements BackupWriter
Implementation of BackupWriter that writes to the file system.
FileSystemWriter
public FileSystemWriter(String path)
newCollection
public void newCollection(String name)
- Specified by:
newCollection
in interface BackupWriter
closeCollection
public void closeCollection()
- Specified by:
closeCollection
in interface BackupWriter
close
public void close()
throws IOException
- Specified by:
close
in interface BackupWriter
- Throws:
IOException
newContents
public Writer newContents()
throws IOException
- Specified by:
newContents
in interface BackupWriter
- Throws:
IOException
closeContents
public void closeContents()
throws IOException
- Specified by:
closeContents
in interface BackupWriter
- Throws:
IOException
newEntry
public OutputStream newEntry(String name)
throws IOException
- Specified by:
newEntry
in interface BackupWriter
- Throws:
IOException
closeEntry
public void closeEntry()
throws IOException
- Specified by:
closeEntry
in interface BackupWriter
- Throws:
IOException
Copyright (C) Wolfgang Meier. All rights reserved.