Package org.eclipse.epsilon.egl.patch
Class Line
- java.lang.Object
-
- org.eclipse.epsilon.egl.patch.Line
-
public class Line extends java.lang.Object
- Since:
- 1.6
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumber()
java.lang.String
getText()
java.lang.String
getTrimmedText()
LineType
getType()
boolean
is(LineType type)
boolean
isNot(LineType type)
void
setNumber(int number)
void
setText(java.lang.String text)
void
setType(LineType type)
java.lang.String
toString()
-
-
-
Field Detail
-
type
protected LineType type
-
text
protected java.lang.String text
-
number
protected int number
-
-
Constructor Detail
-
Line
public Line(LineType type, java.lang.String text, int number)
-
-
Method Detail
-
getTrimmedText
public java.lang.String getTrimmedText()
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String text)
-
getNumber
public int getNumber()
-
setNumber
public void setNumber(int number)
-
getType
public LineType getType()
-
setType
public void setType(LineType type)
-
is
public boolean is(LineType type)
-
isNot
public boolean isNot(LineType type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-