Package com.microstrategy.web.app.utils
Class JavaScriptBundles
- java.lang.Object
-
- com.microstrategy.web.app.utils.JavaScriptBundles
-
- Direct Known Subclasses:
JavaScriptBundlesHelper
,MkitJavaScriptBundles
public class JavaScriptBundles extends java.lang.Object
This class provides both build- and run-time support for JavaScript bundles.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaScriptBundles.JavaScriptBundle
static class
JavaScriptBundles.JavaScriptBundlesContentHandler
static class
JavaScriptBundles.JavaScriptFile
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
boneBundlesFileName
protected java.lang.String
jsBundlesFileName
protected java.io.File
logFile
protected java.io.PrintWriter
logPW
protected java.lang.String
mojoBundlesFileName
protected java.io.File
xmlFile
-
Constructor Summary
Constructors Modifier Constructor Description protected
JavaScriptBundles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
closeLogFile()
JavaScriptBundles.JavaScriptBundle
get(java.lang.String bundleName)
JavaScriptBundles.JavaScriptBundle
get(java.lang.String bundleName, java.io.File xmlFile)
java.lang.String
getBundlePath(java.lang.String bundleName)
java.lang.String
getDescriptors(java.lang.String bundleName)
static JavaScriptBundles
getInstance()
Returns the singleton instance.protected boolean
parseCommandLine(java.lang.String[] args)
protected boolean
process()
-
-
-
Field Detail
-
boneBundlesFileName
protected java.lang.String boneBundlesFileName
-
mojoBundlesFileName
protected java.lang.String mojoBundlesFileName
-
jsBundlesFileName
protected java.lang.String jsBundlesFileName
-
xmlFile
protected java.io.File xmlFile
-
logPW
protected java.io.PrintWriter logPW
-
logFile
protected java.io.File logFile
-
-
Method Detail
-
get
public JavaScriptBundles.JavaScriptBundle get(java.lang.String bundleName)
-
get
public JavaScriptBundles.JavaScriptBundle get(java.lang.String bundleName, java.io.File xmlFile)
-
getDescriptors
public java.lang.String getDescriptors(java.lang.String bundleName)
-
getBundlePath
public java.lang.String getBundlePath(java.lang.String bundleName)
-
getInstance
public static JavaScriptBundles getInstance()
Returns the singleton instance.- Returns:
- The singleton instance.
-
closeLogFile
protected void closeLogFile()
-
parseCommandLine
protected boolean parseCommandLine(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
process
protected boolean process()
-
-