Package com.logviewer.formats.utils
Class LvLayoutTextNode
java.lang.Object
com.logviewer.formats.utils.LvLayoutTextNode
- All Implemented Interfaces:
LvLayoutNode,LvLayoutNodeSearchable,Cloneable
public class LvLayoutTextNode
extends Object
implements LvLayoutNode, LvLayoutNodeSearchable, Cloneable
-
Field Summary
FieldsFields inherited from interface com.logviewer.formats.utils.LvLayoutNode
PARSE_FAILED, SKIP_FIELD -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.logviewer.formats.utils.LvLayoutNode
getValueStart
-
Field Details
-
txt
-
prefixSpaces
protected final int prefixSpaces
-
-
Method Details
-
parse
- Specified by:
parsein interfaceLvLayoutNode- Parameters:
s- a string to parse.offset- begin of parsable text partend- end of parsable text part- Returns:
- the end of parsed field, or
LvLayoutNode.SKIP_FIELDif the part is not present, orLvLayoutNode.PARSE_FAILEDif the string is not a valid log line.
-
removeSpacesBefore
public boolean removeSpacesBefore()- Specified by:
removeSpacesBeforein interfaceLvLayoutNode
-
clone
- Specified by:
clonein interfaceLvLayoutNode- Overrides:
clonein classObject
-
toString
-
search
- Specified by:
searchin interfaceLvLayoutNodeSearchable
-
of
-