public interface

NonZipExpandableExtensions

com.atlassian.jira.web.bean.NonZipExpandableExtensions
Known Indirect Subclasses

Class Overview

Represents a list of file extensions which should not be expanded as a zip, even if the underlying file is a compressed zip file.

Summary

Public Methods
boolean contains(String extension)
Determines whether the specified extension is contained in the the list of file extensions which should not be expanded as a zip.
String getNonExpandableExtensionsList()
Returns a comma-separated list of non-expandable file extensions.

Public Methods

public boolean contains (String extension)

Determines whether the specified extension is contained in the the list of file extensions which should not be expanded as a zip.

Parameters
extension The extension to check. Should not be null
Returns
  • true, the specified extension is contained in the the list of file extensions which should not be expanded as a zip; otherwise, false.

public String getNonExpandableExtensionsList ()

Returns a comma-separated list of non-expandable file extensions.

Returns
  • list of non-expandable file extensions.