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