/** * Retrieves all extra fields that have been parsed successfully. * * <p><b>Note</b>: The set of extra fields may be incomplete when * {@link ZipArchiveInputStream} has been used as some extra * fields use the central directory to store additional * information.</p> * * @return an array of the extra fields */ public ZipExtraField[] getExtraFields() { return getParseableExtraFields(); }
/** * Retrieves extra fields. * @param includeUnparseable whether to also return unparseable * extra fields as {@link UnparseableExtraFieldData} if such data * exists. * @return an array of the extra fields * * @since 1.1 */ public ZipExtraField[] getExtraFields(final boolean includeUnparseable) { return includeUnparseable ? getAllExtraFields() : getParseableExtraFields(); }
/** * Retrieves all extra fields that have been parsed successfully. * * <p><b>Note</b>: The set of extra fields may be incomplete when * {@link ZipArchiveInputStream} has been used as some extra * fields use the central directory to store additional * information.</p> * * @return an array of the extra fields */ public ZipExtraField[] getExtraFields() { return getParseableExtraFields(); }
/** * Retrieves extra fields. * @param includeUnparseable whether to also return unparseable * extra fields as {@link UnparseableExtraFieldData} if such data * exists. * @return an array of the extra fields * * @since 1.1 */ public ZipExtraField[] getExtraFields(final boolean includeUnparseable) { return includeUnparseable ? getAllExtraFields() : getParseableExtraFields(); }