Class Line


  • public class Line
    extends java.lang.Object
    Since:
    1.6
    • Field Detail

      • 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)
      • 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 class java.lang.Object