@Immutable public class ReadOnlySfxDriver extends ZipDriver
| Modifier and Type | Field and Description |
|---|---|
static Charset |
SFX_CHARSET
The character set used in SFX archives by default, which is determined
by calling
System.getProperty("file.encoding"). |
| Constructor and Description |
|---|
ReadOnlySfxDriver(IOPoolProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getPreambled()
Returns the value of the property
preambled. |
protected ZipOutputShop |
newZipOutputShop(FsModel model,
OutputStream out,
ZipInputShop source) |
getLevel, getMethod, getOutputSocket, getPool, getPostambled, newEntry, newEntry, newEntry, newInputShop, newOutputShop, newZipInputShopassertEncodable, getCharset, toString, toZipOrTarEntryNamegetClosedIcon, getInputSocket, getOpenIcon, isFederated, newController, newEntry, newInputStream, newOutputStream, newReadOnlyFilegetPrioritypublic static final Charset SFX_CHARSET
System.getProperty("file.encoding").public ReadOnlySfxDriver(IOPoolProvider provider)
public final boolean getPreambled()
ZipDriverpreambled.
If this is true, then a ZIP file is allowed to contain arbitrary
data as its preamble before the actual ZIP file data.
Self Extracting Archives typically use a preamble to store the
application code that is required to extract the ZIP file contents.
Note that searching for a preamble can seriously degrade the performance if the file is not compatible to the ZIP File Format Specification.
The implementation in the class ZipDriver returns false.
getPreambled in class ZipDriverpreambled.protected ZipOutputShop newZipOutputShop(FsModel model, OutputStream out, ZipInputShop source) throws IOException
newZipOutputShop in class ZipDriverIOExceptionCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.