public class ApplicationPropertiesBackedNonZipExpandableExtensions extends Object implements NonZipExpandableExtensions
NonZipExpandableExtensions
that is backed by a jira application property.
By default, it includes the MS Office OpenXml extensions and OpenOffice OpenDocument extensions.
Constructor and Description |
---|
ApplicationPropertiesBackedNonZipExpandableExtensions(ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
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.
|
ApplicationProperties |
getApplicationProperties() |
String |
getNonExpandableExtensionsList()
Returns a comma-separated list of non-expandable file extensions.
|
public ApplicationPropertiesBackedNonZipExpandableExtensions(ApplicationProperties applicationProperties)
public ApplicationProperties getApplicationProperties()
public String getNonExpandableExtensionsList()
NonZipExpandableExtensions
getNonExpandableExtensionsList
in interface NonZipExpandableExtensions
public boolean contains(String extension)
NonZipExpandableExtensions
contains
in interface NonZipExpandableExtensions
extension
- The extension to check. Should not be nullCopyright © 2002-2022 Atlassian. All Rights Reserved.