TrueZIP 6.8.2

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 06f3ba684701 2010/11/04 01:15:55 christian $
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
private static String CLASS_NAME
           
static String DEFAULT_CHARSET
          The character set used in SFX archives by default, which is determined by calling System.getProperty("file.encoding").
private static long serialVersionUID
           
 
Fields inherited from class de.schlichtherle.io.archive.zip.ZipDriver
DEFAULT_LEVEL, TEMP_FILE_PREFIX
 
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

CLASS_NAME

private static final String CLASS_NAME
See Also:
Constant Field Values

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.2

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