Class SourceLine

java.lang.Object
de.calamanari.other.FileLine
de.calamanari.other.SourceLine
All Implemented Interfaces:
java.lang.CharSequence

public class SourceLine
extends FileLine
Represents a single line of source code found in the output of javadoc. SourceLines are subject to reformatting while other lines will be left unchanged.
Author:
Karl Eilebrecht
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String ancorName  
    int endPos  
    int startPos  
  • Constructor Summary

    Constructors
    Constructor Description
    SourceLine​(java.lang.String rawLine)  
  • Method Summary

    Modifier and Type Method Description
    int indexOf​(char ch)  
    int indexOf​(java.lang.String s)  
    int lastIndexOf​(char ch)  
    int lastIndexOf​(java.lang.String s)  

    Methods inherited from class de.calamanari.other.FileLine

    charAt, length, subSequence, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.CharSequence

    chars, codePoints, isEmpty
  • Field Details

    • startPos

      public final int startPos
    • endPos

      public final int endPos
    • ancorName

      public final java.lang.String ancorName
  • Constructor Details

    • SourceLine

      public SourceLine​(java.lang.String rawLine)
  • Method Details

    • indexOf

      public int indexOf​(char ch)
    • indexOf

      public int indexOf​(java.lang.String s)
    • lastIndexOf

      public int lastIndexOf​(char ch)
    • lastIndexOf

      public int lastIndexOf​(java.lang.String s)