public abstract class AbstractZipDriverEntry extends ZipEntry implements FsArchiveEntry
DateTimeConverter.ZIP
.getDateTimeConverter()
,
ZipDriver
BZIP2, 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, setTime
protected AbstractZipDriverEntry(String name)
protected abstract DateTimeConverter getDateTimeConverter()
ZipEntry
DateTimeConverter
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 ZipEntry
DateTimeConverter
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.Entry
public long getTime(net.java.truecommons.cio.Entry.Access type)
getTime
in interface net.java.truecommons.cio.Entry
public net.java.truecommons.cio.Entry.Type getType()
FsArchiveEntry
getType
in interface FsArchiveEntry
public Boolean isPermitted(net.java.truecommons.cio.Entry.Access type, net.java.truecommons.cio.Entry.Entity entity)
isPermitted
in interface net.java.truecommons.cio.Entry
public 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.MutableEntry
public boolean setSize(net.java.truecommons.cio.Entry.Size type, long size)
setSize
in interface net.java.truecommons.cio.MutableEntry
public boolean setTime(net.java.truecommons.cio.Entry.Access type, long time)
setTime
in interface net.java.truecommons.cio.MutableEntry
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.