SourceFiles

class Object
trait Matchable
class Any

Value members

Concrete methods

def determine(inputPath: String, sourceFileExtensions: Set[String]): List[String]

For a given input path, determine all source files by inspecting filename extensions.

For a given input path, determine all source files by inspecting filename extensions.

def determine(inputPaths: Set[String], sourceFileExtensions: Set[String]): List[String]

For a given array of input paths, determine all source files by inspecting filename extensions.

For a given array of input paths, determine all source files by inspecting filename extensions.

def retrieveLineSeparator(filePath: String): String

For the given file at filePath determine the line separator used.

For the given file at filePath determine the line separator used.

Note: the current systems line separator (returned by System.getProperty("line.separator")) can not be used as the file could have been written by another app on another operating system.

We only read until the first occurrence of a line break as that is sufficient and should not hinder performance too much.