Class SourceCode.CodeLoader

    • Constructor Summary

      Constructors 
      Constructor Description
      CodeLoader()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getCode()  
      java.util.List<java.lang.String> getCodeSlice​(int startLine, int endLine)  
      abstract java.lang.String getFileName()  
      protected abstract java.io.Reader getReader()  
      protected java.util.List<java.lang.String> load()  
      protected java.util.List<java.lang.String> load​(int startLine, int endLine)  
      • Methods inherited from class java.lang.Object

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

      • CodeLoader

        public CodeLoader()
    • Method Detail

      • getCode

        public java.util.List<java.lang.String> getCode()
      • getCodeSlice

        public java.util.List<java.lang.String> getCodeSlice​(int startLine,
                                                             int endLine)
      • getFileName

        public abstract java.lang.String getFileName()
      • getReader

        protected abstract java.io.Reader getReader()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • load

        protected java.util.List<java.lang.String> load()
      • load

        protected java.util.List<java.lang.String> load​(int startLine,
                                                        int endLine)