Package com.logviewer.formats.utils
Interface LvLayoutNode
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
LvLayoutClassNode,LvLayoutCustomTypeNode,LvLayoutDateNode,LvLayoutFixedTextNode,LvLayoutHexNode,LvLayoutIpNode,LvLayoutLog4jISO8601Date,LvLayoutNumberNode,LvLayoutRegexNode,LvLayoutSimpleDateNode,LvLayoutStretchNode,LvLayoutTextNode,NginxOptionalNumber,NginxStretchNode,NginxStretchPatternNode,NginxUriNode
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionclone()default intgetValueStart(String s, int idx, int endStr) intdefault boolean
-
Field Details
-
SKIP_FIELD
static final int SKIP_FIELD- See Also:
-
PARSE_FAILED
static final int PARSE_FAILED- See Also:
-
-
Method Details
-
parse
- Parameters:
s- a string to parse.offset- begin of parsable text partend- end of parsable text part- Returns:
- the end of parsed field, or
SKIP_FIELDif the part is not present, orPARSE_FAILEDif the string is not a valid log line.
-
removeSpacesBefore
default boolean removeSpacesBefore() -
getValueStart
-
clone
LvLayoutNode clone()
-