public static class CodestartResource.PathCodestartResource extends Object implements CodestartResource
CodestartResource.PathCodestartResource, CodestartResource.Source| Constructor and Description |
|---|
PathCodestartResource(Path codestartDir) |
| Modifier and Type | Method and Description |
|---|---|
Path |
copyTo(String codestartRelativePath,
Path target,
CopyOption... copyOptions) |
boolean |
dirExists(String languageDir) |
List<String> |
getLanguageDirs() |
Optional<CodestartResource.Source> |
getSource(String languageDir,
String name) |
List<CodestartResource.Source> |
listSources(String languageDir) |
String |
pathName() |
String |
read(String codestartRelativePath) |
public PathCodestartResource(Path codestartDir)
public String pathName()
pathName in interface CodestartResourcepublic String read(String codestartRelativePath)
read in interface CodestartResourcepublic List<CodestartResource.Source> listSources(String languageDir)
listSources in interface CodestartResourcepublic boolean dirExists(String languageDir)
dirExists in interface CodestartResourcepublic List<String> getLanguageDirs()
getLanguageDirs in interface CodestartResourcepublic Optional<CodestartResource.Source> getSource(String languageDir, String name)
getSource in interface CodestartResourcepublic Path copyTo(String codestartRelativePath, Path target, CopyOption... copyOptions)
copyTo in interface CodestartResourceCopyright © 2020 JBoss by Red Hat. All rights reserved.