Class Submission

    • Constructor Detail

      • Submission

        public Submission​(Path classPath)
                   throws IOException
        Creates a collection by walking through classPath and including all files with extension .java.
        Parameters:
        classPath - the folder where the submission files can be found.
        Throws:
        IOException
    • Method Detail

      • getSourceFiles

        public List<File> getSourceFiles()
        Returns:
        a newly instantiated list of source files
      • getRelativePathsOfSourceFiles

        public List<Path> getRelativePathsOfSourceFiles()
        Returns:
        copy of paths of all source files relative to the classpath