public class

JavaScriptBundles

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.utils.JavaScriptBundles
Known Direct Subclasses

Class Overview

This class provides both build- and run-time support for JavaScript bundles.

Summary

Nested Classes
class JavaScriptBundles.JavaScriptBundle  
class JavaScriptBundles.JavaScriptBundlesContentHandler  
class JavaScriptBundles.JavaScriptFile  
Fields
protected String jsBundlesFileName
protected File logFile
protected PrintWriter logPW
protected File xmlFile
Protected Constructors
JavaScriptBundles()
Public Methods
JavaScriptBundles.JavaScriptBundle get(String bundleName)
JavaScriptBundles.JavaScriptBundle get(String bundleName, File xmlFile)
String getBundlePath(String bundleName)
String getDescriptors(String bundleName)
static JavaScriptBundles getInstance()
Returns the singleton instance.
Protected Methods
void closeLogFile()
boolean parseCommandLine(String[] args)
boolean process()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String jsBundlesFileName

protected File logFile

protected PrintWriter logPW

protected File xmlFile

Protected Constructors

protected JavaScriptBundles ()

Public Methods

public JavaScriptBundles.JavaScriptBundle get (String bundleName)

public JavaScriptBundles.JavaScriptBundle get (String bundleName, File xmlFile)

public String getBundlePath (String bundleName)

public String getDescriptors (String bundleName)

public static JavaScriptBundles getInstance ()

Returns the singleton instance.

Returns
  • The singleton instance.

Protected Methods

protected void closeLogFile ()

protected boolean parseCommandLine (String[] args)

Throws
IOException

protected boolean process ()