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.ObjectThis class provides both build- and run-time support for JavaScript bundles.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaScriptBundles.JavaScriptBundlestatic classJavaScriptBundles.JavaScriptBundlesContentHandlerstatic classJavaScriptBundles.JavaScriptFile
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringboneBundlesFileNameprotected java.lang.StringjsBundlesFileNameprotected java.io.FilelogFileprotected java.io.PrintWriterlogPWprotected java.lang.StringmojoBundlesFileNameprotected java.io.FilexmlFile
-
Constructor Summary
Constructors Modifier Constructor Description protectedJavaScriptBundles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseLogFile()JavaScriptBundles.JavaScriptBundleget(java.lang.String bundleName)JavaScriptBundles.JavaScriptBundleget(java.lang.String bundleName, java.io.File xmlFile)java.lang.StringgetBundlePath(java.lang.String bundleName)java.lang.StringgetDescriptors(java.lang.String bundleName)static JavaScriptBundlesgetInstance()Returns the singleton instance.protected booleanparseCommandLine(java.lang.String[] args)protected booleanprocess()
-
-
-
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()
-
-