com.atlassian.jira.web.util
Class MetalResourcesManager
java.lang.Object
com.atlassian.jira.web.util.MetalResourcesManager
public class MetalResourcesManager
- extends Object
Manage and allow to print out assets (javscript and css) which are included into Metal Pages
- Since:
- v6.1
Field Summary |
static Set<String> |
STATIC_ASSETS
Descriptive list of all files which are considered as static assets |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATIC_ASSETS
public static Set<String> STATIC_ASSETS
- Descriptive list of all files which are considered as static assets
MetalResourcesManager
public MetalResourcesManager(String contextPath,
Writer out)
getMetalResources
public static String getMetalResources(String contextPath)
includeMetalResources
public static void includeMetalResources(Writer out,
String contextPath)
writeStyle
public MetalResourcesManager writeStyle(String filename)
throws IOException
- Throws:
IOException
writeScript
public MetalResourcesManager writeScript(String filename)
throws IOException
- Throws:
IOException
startIf
public MetalResourcesManager startIf(String condition)
throws IOException
- Throws:
IOException
endIf
public MetalResourcesManager endIf()
throws IOException
- Throws:
IOException
Copyright © 2002-2014 Atlassian. All Rights Reserved.