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()
NonZipExpandableExtensionsgetNonExpandableExtensionsList in interface NonZipExpandableExtensionspublic boolean contains(String extension)
NonZipExpandableExtensionscontains in interface NonZipExpandableExtensionsextension - The extension to check. Should not be nullCopyright © 2002-2023 Atlassian. All Rights Reserved.