private static class FileFunctions.FilesWithBasePath extends java.lang.Object implements FileFunctions.AddFileToList
FileFunctions.addFilesWithBasePath(java.io.File, java.lang.String, java.util.List<org.vishia.util.FileFunctions.FileAndBasePath>)
.
An instance is created for all files of one call of FileFunctions.addFileToList(java.lang.String, java.util.List<java.io.File>)
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<FileFunctions.FileAndBasePath> |
list
Aggregation of the list, it is defined at user level.
|
(package private) int |
posLocalPath |
(package private) java.lang.String |
sPathBase
injected composition of the String of base path.
|
Constructor and Description |
---|
FilesWithBasePath(java.lang.String sPathBase,
int posLocalPath,
java.util.List<FileFunctions.FileAndBasePath> list)
Construtor fills the static members.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.io.File file)
Implements interface method.
|
final java.lang.String sPathBase
final java.util.List<FileFunctions.FileAndBasePath> list
final int posLocalPath
FilesWithBasePath(java.lang.String sPathBase, int posLocalPath, java.util.List<FileFunctions.FileAndBasePath> list)
sPathBase
- posLocalPath
- list
- public void add(java.io.File file)
add
in interface FileFunctions.AddFileToList