com.atlassian.jira.web.util
Class DateFormatTransformer
java.lang.Object
com.atlassian.jira.web.util.DateFormatTransformer
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.transformer.WebResourceTransformer
public class DateFormatTransformer
- extends Object
- implements com.atlassian.plugin.webresource.transformer.WebResourceTransformer
Web resource transformer to retrieve localized date format symbols.
This transforms the content by pattern matching on the text JIRA.getDateFormatSymbol("key") where key can
be any string. It replaces this syntax with the literal string translation before serving the resource.
- Since:
- v6.0
Method Summary |
com.atlassian.plugin.servlet.DownloadableResource |
transform(org.dom4j.Element configElement,
com.atlassian.plugin.elements.ResourceLocation location,
String filePath,
com.atlassian.plugin.servlet.DownloadableResource nextResource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFormatTransformer
public DateFormatTransformer(JiraAuthenticationContext jiraAuthenticationContext)
transform
public com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element configElement,
com.atlassian.plugin.elements.ResourceLocation location,
String filePath,
com.atlassian.plugin.servlet.DownloadableResource nextResource)
- Specified by:
transform
in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer
Copyright © 2002-2014 Atlassian. All Rights Reserved.