public class JZtxtcmdAccessFileset
extends java.lang.Object
JZtxtcmdExecuter.ExecuteLevel
which contains the
maybe used variables.
Use as Parameter for JZcmd call(..., name= Fileset access&fileset) and for Zmake inputs.Modifier and Type | Field and Description |
---|---|
private JZtxtcmdFilepath |
accesspath |
private JZtxtcmdFileset |
fileset |
static java.lang.String |
version
Version, history and license.
|
Constructor and Description |
---|
JZtxtcmdAccessFileset(JZtxtcmdScript.AccessFilesetname statement,
JZtxtcmdExecuter.ExecuteLevel jzTclevel)
Creates an instance from given inputs.
|
Modifier and Type | Method and Description |
---|---|
void |
listFiles(java.util.List<JZtxtcmdFilepath> files,
JZtxtcmdExecuter.ExecuteLevel zgenlevel,
boolean expandFiles)
Appends the files of this set to the list.
|
java.util.List<JZtxtcmdFilepath> |
listFilesExpanded()
Returns a new list of all
JZtxtcmdFilepath whith all files which are found in the file system
in the given environment. |
public static final java.lang.String version
&access.path&myfileset
or &access.onefile
or &myFileset
The older scripts are running unregarded of this change. The description in
www.vishia.org/.../JZtxtcmd.html is renewed.
private final JZtxtcmdFilepath accesspath
private final JZtxtcmdFileset fileset
public JZtxtcmdAccessFileset(JZtxtcmdScript.AccessFilesetname statement, JZtxtcmdExecuter.ExecuteLevel jzTclevel) throws java.lang.Exception
statement
- The statement for first argument of zmakesFilesetVariable
- maybe null, than the accessPath is the only one file.jzTclevel
- java.lang.Exception
public java.util.List<JZtxtcmdFilepath> listFilesExpanded() throws java.lang.NoSuchFieldException
JZtxtcmdFilepath
whith all files which are found in the file system
in the given environment. The base path and local path is build from the members of the fileset
and the accesspath
in that kind, that the shortest given local path is valid.java.lang.NoSuchFieldException
public void listFiles(java.util.List<JZtxtcmdFilepath> files, JZtxtcmdExecuter.ExecuteLevel zgenlevel, boolean expandFiles) throws java.lang.NoSuchFieldException
files
- Given list of files.zgenlevel
- expandFiles
- true then show to the file storage medium and get all existent files proper to wildcards.
false then return a FilePath with wildcards.java.lang.NoSuchFieldException
- If a variable is not found.