public static class QuotedString.BourneUserPathStyle extends QuotedString.BourneStyle
~user
at the start of the string.QuotedString.BourneStyle, QuotedString.BourneUserPathStyle, QuotedString.GitPathStyle
BOURNE, BOURNE_USER_PATH, GIT_PATH, GIT_PATH_MINIMAL
Constructor and Description |
---|
BourneUserPathStyle() |
Modifier and Type | Method and Description |
---|---|
String |
quote(String in)
Quote an input string by the quoting rules.
|
dequote
dequote
public String quote(String in)
QuotedString
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.
quote
in class QuotedString.BourneStyle
in
- any non-null Unicode string.Copyright © 2020 Eclipse JGit Project. All rights reserved.