|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.at4j.zip.ef.NewInfoZipUnixExtraFieldFactory
public class NewInfoZipUnixExtraFieldFactory
This is the ZipEntryExtraFieldFactory
for extra fields of the type
"Unix2". It creates objects of the type NewInfoZipUnixExtraField
.
NewInfoZipUnixExtraField
Constructor Summary | |
---|---|
NewInfoZipUnixExtraFieldFactory()
Create a new factory creating extra fields with the default uid and gid (1000/1000). |
|
NewInfoZipUnixExtraFieldFactory(int uid,
int gid)
Create a new factory creating extra fields with the supplied uid and gid. |
Method Summary | |
---|---|
NewInfoZipUnixExtraField |
create(boolean inLocalHeader,
AbsoluteLocation loc,
UnixEntityType entityType,
Object entryToZip,
ZipEntrySettings effectiveSettings)
Create a new ZipEntryExtraField object based on the supplied
information about the entity to Zip. |
UnsignedShort |
getCode()
Get the code that identifies the kind of ZipEntryExtraField
objects created by this factory in a Zip file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NewInfoZipUnixExtraFieldFactory()
public NewInfoZipUnixExtraFieldFactory(int uid, int gid)
uid
- The uid.gid
- The gid.Method Detail |
---|
public UnsignedShort getCode()
ZipEntryExtraFieldFactory
ZipEntryExtraField
objects created by this factory in a Zip file.
getCode
in interface ZipEntryExtraFieldFactory
public NewInfoZipUnixExtraField create(boolean inLocalHeader, AbsoluteLocation loc, UnixEntityType entityType, Object entryToZip, ZipEntrySettings effectiveSettings)
ZipEntryExtraFieldFactory
ZipEntryExtraField
object based on the supplied
information about the entity to Zip.
create
in interface ZipEntryExtraFieldFactory
inLocalHeader
- Should a local header or a central directory version
of the extra field be created?loc
- The absolute location of the entry in the Zip file.entityType
- The type of entity to zip.entryToZip
- The file system entity to Zip. This may be a
ReadableFile
, a DirectoryView
,
a File
directory or an InputStream
. In
the latter case, this method cannot read any data from the stream.effectiveSettings
- The effective settings for the entry.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |