Uses of Class
org.hsqldb.lib.tar.TarMalformatException
Packages that use TarMalformatException
Package
Description
Contains the DbBackupMain class, for offline backing up HyperSQL databases.
-
Uses of TarMalformatException in org.hsqldb.lib.tar
Methods in org.hsqldb.lib.tar that throw TarMalformatExceptionModifier and TypeMethodDescriptionvoidConvenience wrapper for addRecord(String, String).voidConvenience wrapper for addRecord(String, String).voidConvenience wrapper for addRecord(String, String).voidI guess the "initial length" field is supposed to be in units of characters, not bytes?static voidCommand line invocation to create, examine, or extract HSQLDB database backup tar archives.static voidCreates specified tar file to contain specified files, or stdin, using default blocks-per-record and replacing tar file if it already exists.static voidReads a specified tar file or stdin in order to either list or extract the file tar entries, depending on the first argument being "t" or "x", using default read buffer blocks.voidTarGenerator.queueEntry(File file) voidTarGenerator.queueEntry(String entryPath, File file) voidTarGenerator.queueEntry(String entryPath, InputStream inStream, int maxBytes) This method does not support Pax Interchange Format, nor data sizes greater than 2G.voidTarGenerator.queueEntry(String entryPath, InputStreamInterface is) voidTarReader.read()voidTarFileInputStream.readBlock()readBlock() and readNextHeaderBlock are the methods that USERS of this class should use to read header blocks from the tar file.voidTarFileInputStream.readBlocks(int blocks) readBlocks(int) is the method that USERS of this class should use to read file data from the tar file.booleanTarFileInputStream.readNextHeaderBlock()readBlock() and readNextHeaderBlock are the methods that USERS of this class should use to read header blocks from the tar file.voidDbBackup.write()This method always backs up the .properties and .script files.voidTarGenerator.write()This method does release all of the streams, even if there is a failure.Constructors in org.hsqldb.lib.tar that throw TarMalformatException