C# Class Plovr.Builders.JavaJarParamBuilder

Datei anzeigen Open project: hikirsch/Plovr.NET

Public Methods

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

Method Details

AddParam() public method

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.
public AddParam ( string paramName, string paramValue = null ) : void
paramName string the param key
paramValue string the param value
return void

AddParamQuotedValue() public method

Same as AddParam but we quote the value being passed, e.g. --js "D:\path\to\include.js"
public AddParamQuotedValue ( string paramName, string paramValue ) : void
paramName string the param key
paramValue string the param value
return void

AddRawOptions() public method

Add any raw options directly to the param list. This must be properly formatted.
public AddRawOptions ( string closureCompilerOptions ) : void
closureCompilerOptions string
return void

GetParams() public method

Build the params and return the string.
public GetParams ( ) : string
return string

JavaJarParamBuilder() public method

public JavaJarParamBuilder ( string jarPath ) : System.Text
jarPath string
return System.Text