public class JavaSrcTreeGetter extends java.lang.Object
JavaSrcTreeGetter#gatherAllJavaSrcFiles(JavaFolder, List)
.
The usage is (new JavaSrcTreeGetter(report)).captureAllJavaSrcFiles(dst, src).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
sVersion
Version, history and license.
|
Constructor and Description |
---|
JavaSrcTreeGetter(JavaSources dstJavaSrcData,
ConfigSrcPathPkg_ifc inputCfg,
java.util.List<java.lang.String> listInputToTranslate,
org.vishia.mainCmd.Report console)
Constructs an instance, which should be used only temporary to capture the tree.
|
Modifier and Type | Method and Description |
---|---|
void |
gatherAllJavaSrcFiles(LocalIdents identsToAssignFirstPkgIdents,
java.util.List<java.lang.String> listJavaSrcpath)
Captures all Java Files, which are found at file system in all given Java Source pathes
evaluates the content of
ConfigSrcPathPkg_ifc (association given on constructor)
and sets respectively completes the input files. |
public static final java.lang.String sVersion
public JavaSrcTreeGetter(JavaSources dstJavaSrcData, ConfigSrcPathPkg_ifc inputCfg, java.util.List<java.lang.String> listInputToTranslate, org.vishia.mainCmd.Report console)
inputCfg
- Association to the instance, which knows the assignment between Java-Packages and C-Pre- and Suffixes.console
- public void gatherAllJavaSrcFiles(LocalIdents identsToAssignFirstPkgIdents, java.util.List<java.lang.String> listJavaSrcpath) throws java.text.ParseException
ConfigSrcPathPkg_ifc
(association given on constructor)
and sets respectively completes the input files.
Uses the inputCfg
aggregation to get the source path and the package replacementjavaSrcTree
- The destination, it should be an empty List before.listJavaSrcpath
- List of all source pathes. The list won't be changed here.listInputToTranslate
- List of all sources to translate. The list won't be changed here.java.text.ParseException