public class SourceFolder extends SourceFileSet
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describeLocation(SourceFile sourceFile) |
static SourceFolder |
from(java.nio.file.Path basePath,
java.util.Collection<java.nio.file.Path> paths) |
static SourceFolder |
from(java.nio.file.Path basePath,
java.nio.file.Path... paths) |
static SourceFolder |
from(java.nio.file.Path basePath,
java.lang.String... fileExtensions) |
java.util.Optional<java.nio.file.Path> |
getBasePath() |
java.lang.String |
readContent(SourceFile sourceFile) |
getSourceFiles, materializeAt, materializeAtBasepublic static SourceFolder from(java.nio.file.Path basePath, java.lang.String... fileExtensions)
public static SourceFolder from(java.nio.file.Path basePath, java.util.Collection<java.nio.file.Path> paths)
public static SourceFolder from(java.nio.file.Path basePath, java.nio.file.Path... paths)
public java.lang.String readContent(SourceFile sourceFile) throws java.io.IOException
readContent in class SourceFileSetjava.io.IOExceptionpublic java.util.Optional<java.nio.file.Path> getBasePath()
getBasePath in class SourceFileSetpublic java.lang.String describeLocation(SourceFile sourceFile)
describeLocation in class SourceFileSet