C# 클래스 Plovr.Builders.JavaJarParamBuilder

파일 보기 프로젝트 열기: hikirsch/Plovr.NET

공개 메소드들

메소드 설명
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

메소드 상세

AddParam() 공개 메소드

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
리턴 void

AddParamQuotedValue() 공개 메소드

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
리턴 void

AddRawOptions() 공개 메소드

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

GetParams() 공개 메소드

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

JavaJarParamBuilder() 공개 메소드

public JavaJarParamBuilder ( string jarPath ) : System.Text
jarPath string
리턴 System.Text