@Immutable public class TarGZipDriver extends TarDriver
Subclasses must be thread-safe and should be immutable!
TAR_CHARSET| Constructor and Description | 
|---|
| TarGZipDriver() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getBufferSize()Returns the size of the I/O buffer. | 
| int | getLevel()Returns the compression level to use when writing a GZIP sink stream. | 
| protected net.java.truecommons.cio.InputService<TarDriverEntry> | newInput(FsModel model,
        FsInputSocketSource source)Creates a new input service for reading archive entries for the given
  modelfrom the target archive file referenced bysource. | 
| protected net.java.truecommons.cio.OutputService<TarDriverEntry> | newOutput(FsModel model,
         FsOutputSocketSink sink,
         net.java.truecommons.cio.InputService<TarDriverEntry> input)Creates a new input service for writing archive entries for the given
  modelto the target archive file referenced bysink. | 
| protected FsOutputSocketSink | sink(net.java.truecommons.shed.BitField<FsAccessOption> options,
    FsController controller,
    FsNodeName name) | 
getAddPaxHeaderForNonAsciiNames, getBigNumberMode, getCharset, getLongFileMode, getPool, getRedundantContentSupport, newEntry, newEntry, newEntry, sourcecheckEncodable, decorate, getRedundantMetaDataSupport, isArchiveDriver, newController, newEntry, newInput, newOutput, normalize, toStringpublic int getBufferSize()
 The implementation in the class TarGZipDriver returns
 Streams.BUFFER_SIZE.
public int getLevel()
 The implementation in the class TarGZipDriver returns
 Deflater.BEST_COMPRESSION.
protected net.java.truecommons.cio.InputService<TarDriverEntry> newInput(FsModel model, FsInputSocketSource source) throws IOException
FsArchiveDrivermodel from the target archive file referenced by source.newInput in class TarDrivermodel - the file system model.source - the source for reading the target archive file.IOException - on any I/O error.FsArchiveDriver.newInput(FsModel, BitField, FsController, FsNodeName)protected net.java.truecommons.cio.OutputService<TarDriverEntry> newOutput(FsModel model, FsOutputSocketSink sink, net.java.truecommons.cio.InputService<TarDriverEntry> input) throws IOException
FsArchiveDrivermodel to the target archive file referenced by sink.newOutput in class TarDrivermodel - the file system model.sink - the sink for writing the target archive file.input - the nullable InputService for the target archive
         file.
         If not null, then the target archive file is going to
         get updated.
         This parameter is guaranteed to be the product of this driver's
         factory method
         FsArchiveDriver.newInput(FsModel, BitField, FsController, FsNodeName).IOException - on any I/O error.FsArchiveDriver.newOutput(FsModel, BitField, FsController, FsNodeName, InputService)protected FsOutputSocketSink sink(net.java.truecommons.shed.BitField<FsAccessOption> options, FsController controller, FsNodeName name)
sink in class TarDriveroptions - the options for accessing the file system node.controller - the controller to use for writing an artifact of this
         driver.name - the node name.FsArchiveDriver.newOutput(FsModel, BitField, FsController, FsNodeName, InputService)Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.