Method | Description | |
---|---|---|
AddParam ( string paramName, string paramValue = null ) : void |
Add a param to the parm list, this is a helper function to handle the syntax of the closure compiler param list. The jar takes the format of --option value. This is a shorthand method to help with this.
|
|
AddParamQuotedValue ( string paramName, string paramValue ) : void |
Same as AddParam but we quote the value being passed, e.g. --js "D:\path\to\include.js"
|
|
AddRawOptions ( string closureCompilerOptions ) : void |
Add any raw options directly to the param list. This must be properly formatted.
|
|
GetParams ( ) : string |
Build the params and return the string.
|
|
JavaJarParamBuilder ( string jarPath ) : System.Text |
public AddParam ( string paramName, string paramValue = null ) : void | ||
paramName | string | the param key |
paramValue | string | the param value |
return | void |
public AddParamQuotedValue ( string paramName, string paramValue ) : void | ||
paramName | string | the param key |
paramValue | string | the param value |
return | void |
public AddRawOptions ( string closureCompilerOptions ) : void | ||
closureCompilerOptions | string | |
return | void |
public JavaJarParamBuilder ( string jarPath ) : System.Text | ||
jarPath | string | |
return | System.Text |