public abstract class AbstractZipDriverEntry extends ZipEntry implements FsArchiveEntry
DateTimeConverter.ZIP.getDateTimeConverter(),
ZipDriverBZIP2, DEFLATED, MAX_DOS_TIME, MIN_DOS_TIME, PLATFORM_FAT, PLATFORM_UNIX, STORED, UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
AbstractZipDriverEntry(String name) |
protected |
AbstractZipDriverEntry(String name,
ZipEntry template) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DateTimeConverter |
getDateTimeConverter()
Returns a
DateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa. |
long |
getSize(net.java.truecommons.cio.Entry.Size type) |
long |
getTime(net.java.truecommons.cio.Entry.Access type) |
net.java.truecommons.cio.Entry.Type |
getType()
Returns the type of this archive entry.
|
Boolean |
isPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity) |
boolean |
setPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity,
Boolean value) |
boolean |
setSize(net.java.truecommons.cio.Entry.Size type,
long size) |
boolean |
setTime(net.java.truecommons.cio.Entry.Access type,
long time) |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
clearEncryption, clone, getComment, getCompressedSize, getCrc, getExternalAttributes, getExtra, getMethod, getName, getPlatform, getSize, getTime, isDirectory, isEncrypted, setComment, setCompressedSize, setCrc, setEncrypted, setExternalAttributes, setExtra, setMethod, setPlatform, setSize, setTimeprotected AbstractZipDriverEntry(String name)
protected abstract DateTimeConverter getDateTimeConverter()
ZipEntryDateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.
The implementation in the class ZipEntry returns
DateTimeConverter.JAR.
getDateTimeConverter in class ZipEntryDateTimeConverter for the conversion of Java time
to DOS date/time fields and vice versa.public long getSize(net.java.truecommons.cio.Entry.Size type)
getSize in interface net.java.truecommons.cio.Entrypublic long getTime(net.java.truecommons.cio.Entry.Access type)
getTime in interface net.java.truecommons.cio.Entrypublic net.java.truecommons.cio.Entry.Type getType()
FsArchiveEntrygetType in interface FsArchiveEntrypublic Boolean isPermitted(net.java.truecommons.cio.Entry.Access type, net.java.truecommons.cio.Entry.Entity entity)
isPermitted in interface net.java.truecommons.cio.Entrypublic boolean setPermitted(net.java.truecommons.cio.Entry.Access type,
net.java.truecommons.cio.Entry.Entity entity,
Boolean value)
setPermitted in interface net.java.truecommons.cio.MutableEntrypublic boolean setSize(net.java.truecommons.cio.Entry.Size type,
long size)
setSize in interface net.java.truecommons.cio.MutableEntrypublic boolean setTime(net.java.truecommons.cio.Entry.Access type,
long time)
setTime in interface net.java.truecommons.cio.MutableEntryCopyright © 2005–2018 Schlichtherle IT Services. All rights reserved.