public class ParserUtil extends Object
Constructor and Description |
---|
ParserUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
filePath(String changeUrl,
Comment comment)
Generate the fully qualified filepath
|
static boolean |
isCommentUrl(String str,
String changeUrl,
Comment comment)
Check if string is an inline comment url on a patch set or the base
|
static String |
trimQuotation(String comment)
Trims the quotation that email clients add Example: On Sun, Nov 20, 2016 at 10:33 PM,
|
public static String trimQuotation(String comment)
comment
- Comment parsed from an email.public static boolean isCommentUrl(String str, String changeUrl, Comment comment)