Class ReportSupport.NoSourceLocator

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NoSourceLocator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Reader getSourceFile​(java.lang.String packageName, java.lang.String fileName)
      Tries to locate the given source file and opens a reader with the appropriate encoding.
      int getTabWidth()
      Returns number of blank characters that represent a tab in source code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoSourceLocator

        private NoSourceLocator()
    • Method Detail

      • getSourceFile

        public java.io.Reader getSourceFile​(java.lang.String packageName,
                                            java.lang.String fileName)
        Description copied from interface: ISourceFileLocator
        Tries to locate the given source file and opens a reader with the appropriate encoding.
        Specified by:
        getSourceFile in interface ISourceFileLocator
        Parameters:
        packageName - VM name of the package
        fileName - name of the source file
        Returns:
        reader if the file could be located, null otherwise
      • getTabWidth

        public int getTabWidth()
        Description copied from interface: ISourceFileLocator
        Returns number of blank characters that represent a tab in source code.
        Specified by:
        getTabWidth in interface ISourceFileLocator
        Returns:
        tab width as number of blanks