TrueZIP 6.8

de.schlichtherle.io.archive.zip
Class AbstractSfxDriver

java.lang.Object
  extended by de.schlichtherle.io.archive.spi.AbstractArchiveDriver
      extended by de.schlichtherle.io.archive.zip.ZipDriver
          extended by de.schlichtherle.io.archive.zip.AbstractSfxDriver
All Implemented Interfaces:
ArchiveDriver, Serializable
Direct Known Subclasses:
ReadOnlySfxDriver, ReadWriteSfxDriver

public abstract class AbstractSfxDriver
extends ZipDriver

An archive driver which builds Self Executable (SFX/EXE) ZIP files.

Instances of this class are immutable.

Since:
TrueZIP 6.0
Version:
$Id: AbstractSfxDriver.java,v 1.3 2010/08/16 10:55:45 christian_schlichtherle Exp $
Author:
Christian Schlichtherle
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.schlichtherle.io.archive.spi.AbstractArchiveDriver
AbstractArchiveDriver.InconsistentCharsetSupportError
 
Field Summary
static String DEFAULT_CHARSET
          The character set used in SFX archives by default, which is determined by calling System.getProperty("file.encoding").
 
Fields inherited from class de.schlichtherle.io.archive.zip.ZipDriver
DEFAULT_LEVEL
 
Constructor Summary
protected AbstractSfxDriver(String charset, Icon openIcon, Icon closedIcon, boolean postambled, int level)
          Constructs a new abstract SFX/EXE driver which allows for a preamble.
 
Method Summary
 
Methods inherited from class de.schlichtherle.io.archive.zip.ZipDriver
createArchiveEntry, createInputArchive, createOutputArchive, createZip32InputArchive, createZip32OutputArchive, createZipEntry, createZipEntry, createZipInputArchive, createZipOutputArchive, getLevel, getPostambled, getPreambled
 
Methods inherited from class de.schlichtherle.io.archive.spi.AbstractArchiveDriver
ensureEncodable, getCharset, getClosedIcon, getEncoding, getOpenIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.schlichtherle.io.archive.spi.ArchiveDriver
equals, hashCode
 

Field Detail

DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
The character set used in SFX archives by default, which is determined by calling System.getProperty("file.encoding").

Constructor Detail

AbstractSfxDriver

protected AbstractSfxDriver(String charset,
                            Icon openIcon,
                            Icon closedIcon,
                            boolean postambled,
                            int level)
Constructs a new abstract SFX/EXE driver which allows for a preamble. Self Extracting Archives typically use the preamble to store the application code that is required to extract the ZIP file contents.


TrueZIP 6.8

Copyright © 2005-2010 Schlichtherle IT Services. All Rights Reserved.