Property | Type | Description | |
---|---|---|---|
BOURNE | |||
BOURNE_USER_PATH | |||
GIT_PATH |
Method | Description | |
---|---|---|
Dequote ( byte @in, int offset, int end ) : string |
Decode a previously quoted input, scanning a UTF-8 encoded buffer. Decode a previously quoted input, scanning a UTF-8 encoded buffer. This method must match quote such that: a.equals(dequote(Constants.encode(quote(a))));is true for any a . This method removes any opening/closing quotation marks added by |
|
Dequote ( string @in ) : string |
Clean a previously quoted input, decoding the result via UTF-8. Clean a previously quoted input, decoding the result via UTF-8. This method must match quote such that: a.equals(dequote(quote(a)));is true for any a . |
|
Quote ( string @in ) : string |
Quote an input string by the quoting rules. Quote an input string by the quoting rules. If the input string does not require any quoting, the same String reference is returned to the caller. Otherwise a quoted string is returned, including the opening and closing quotation marks at the start and end of the string. If the style does not permit raw Unicode characters then the string will first be encoded in UTF-8, with unprintable sequences possibly escaped by the rules. |
public abstract Dequote ( byte @in, int offset, int end ) : string | ||
@in | byte | |
offset | int | first position within in to scan. |
end | int | one position past in in to scan. |
return | string |
public abstract Quote ( string @in ) : string | ||
@in | string | |
return | string |
public static QuotedString.BourneStyle,NGit.Util BOURNE | ||
return |
public static QuotedString.BourneUserPathStyle,NGit.Util BOURNE_USER_PATH | ||
return |