com.atlassian.jira.web.bean
Interface NonZipExpandableExtensions

All Known Implementing Classes:
ApplicationPropertiesBackedNonZipExpandableExtensions

public interface NonZipExpandableExtensions

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

Since:
v4.2

Method Summary
 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.
 

Method Detail

contains

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.

getNonExpandableExtensionsList

String getNonExpandableExtensionsList()
Returns a comma-separated list of non-expandable file extensions.

Returns:
list of non-expandable file extensions.


Copyright © 2002-2014 Atlassian. All Rights Reserved.