|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.at4j.zip.ef.ZipEntryExtraFieldParserRegistry
public class ZipEntryExtraFieldParserRegistry
This is a registry for ZipEntryExtraFieldParser
objects. The objects
are accessed by the codes that identify them in the Zip file.
The registry is used by the ZipFile
object when parsing
the Zip file.
Constructor Summary | |
---|---|
ZipEntryExtraFieldParserRegistry()
Create the registry. |
Method Summary | |
---|---|
ZipEntryExtraFieldParser |
forCode(UnsignedShort code)
Get the extra field parser registered under the supplied code. |
void |
registerParser(ZipEntryExtraFieldParser p)
Register a new extra field parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipEntryExtraFieldParserRegistry()
Method Detail |
---|
public void registerParser(ZipEntryExtraFieldParser p)
If another parser is already registered for the same extra field code, that parser is unregistered.
p
- The parser to register.public ZipEntryExtraFieldParser forCode(UnsignedShort code)
UnparsedZipEntryExtraFieldParser
is returned.
code
- The code identifying the extra field in the Zip file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |