com.h3c.of.sw

## Class AbstractDefReader.LogicalLine

- java.lang.Object
- - com.h3c.of.sw.AbstractDefReader.LogicalLine

- Enclosing class:
    AbstractDefReader

      public static class AbstractDefReader.LogicalLine
      extends Object

  Represents a logical (non-comment) line from the definition file; possibly an aggregate of several lines.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getText()` Returns the text of the logical line (trimmed of leading/trailing whitespace).
    `String` | `lineSpan()` Returns a string representing the line numbers spanned by this logical line.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getText

          public String getText()

      Returns the text of the logical line (trimmed of leading/trailing whitespace).
      Returns:
        the text of the logical line

    - #### lineSpan

          public String lineSpan()

      Returns a string representing the line numbers spanned by this logical line.
      Returns:
        the line span string

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.