Class InspectorFile

java.lang.Object
de.hsh.graja.util.comment.inspector.InspectorFile

public class InspectorFile extends Object
This class represents a source code file inside an Inspector
  • Constructor Details

    • InspectorFile

      public InspectorFile(File file, IncludeSpec includeSpec)
      This constructor fills attributes and creates InspectorLines from the given file
      Parameters:
      file - The source code file
      includeSpec - includeSpec
  • Method Details

    • show

      public void show()
    • hide

      public void hide()
    • isHidden

      public boolean isHidden()
    • getLines

      public List<InspectorLine> getLines()
    • getLine

      public InspectorLine getLine(int lineCount)
    • hasLineInfo

      public boolean hasLineInfo()
    • getFile

      public File getFile()
    • getFileName

      public String getFileName()
    • getContents

      public Iterable<Content> getContents()
      Returns:
      a list of all contents.