public interface

AttachmentArchive

com.atlassian.jira.plugin.attachment.AttachmentArchive
Known Indirect Subclasses

Class Overview

This interface represents entries of an attachment archive. Empty archives are indistinguishable from corrupt ones.

The interface was previously inside AttachmentZipKit

Summary

Public Methods
List<AttachmentArchiveEntry> getEntries()
int getTotalEntryCount()
@Deprecated int getTotalNumberOfEntriesAvailable()
This method is deprecated. getTotalEntryCount instead. Since v6.4.
@Deprecated boolean isMoreAvailable()
This method is deprecated. Compare getTotalEntryCount() with size of getEntries() instead. Since v6.4.

Public Methods

public List<AttachmentArchiveEntry> getEntries ()

Returns

public int getTotalEntryCount ()

Returns
  • total number of entries available (can be larger that what was asked for)

@Deprecated public int getTotalNumberOfEntriesAvailable ()

This method is deprecated.
getTotalEntryCount instead. Since v6.4.

Returns
  • total number of entries available (can be larger that what was asked for)

@Deprecated public boolean isMoreAvailable ()

This method is deprecated.
Compare getTotalEntryCount() with size of getEntries() instead. Since v6.4.

Returns
  • true if there are more entries available in the zip than asked for.