public class JZtxtcmdFileset
extends java.lang.Object
JZtxtcmdSyntax)
Fileset myFileset = ( filepath1, filepath2 );If the fileset is used in a target, it is associated to the target to get the absolute paths of the files temporary while processing that target.
fileset::= { basepath = | ? , }.
It refers a FileSet.JZtxtcmdAccessFileset}. That class refers this and contains an access path, used as argument in a zmake call
or as Argument build with call ...( name = Fileset accesspath&FilesetVariable) in a JZcmd script.| Modifier and Type | Field and Description |
|---|---|
JZtxtcmdScript.UserFileset |
data |
static java.lang.String |
sVersion
Version, history and license.
|
(package private) JZtxtcmdExecuter.ExecuteLevel |
zgenlevel |
| Constructor and Description |
|---|
JZtxtcmdFileset(JZtxtcmdExecuter.ExecuteLevel zgenlevel,
JZtxtcmdScript.UserFileset data) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<JZtxtcmdFilepath> |
listFiles()
Returns a new list of all
JZtxtcmdFilepath with all files which are found in the file system
in the given environment. |
java.util.List<JZtxtcmdFilepath> |
listFiles(JZtxtcmdFilepath accesspath,
boolean expandFiles)
Returns a new list of all
JZtxtcmdFilepath with all files which are found in the file system
in the given environment. |
(package private) void |
listFiles(java.util.List<JZtxtcmdFilepath> files,
JZtxtcmdFilepath zgenAccesspath,
boolean expandFiles) |
java.util.List<JZtxtcmdFilepath> |
listFilesExpanded()
Returns a new list of all
JZtxtcmdFilepath with all files which are found in the file system
in the given environment. |
java.lang.String |
toString() |
public static final java.lang.String sVersion
FileSet as extra class.
ExecuteLevel implements FilePath.FilePathEnvAccess now,
therewith a #listFiles(List, JZtxtcmdFilepath, boolean, org.vishia.util.FilePath.FilePathEnvAccess)
does not need an accessPath, it may be empty respectively null.
final JZtxtcmdExecuter.ExecuteLevel zgenlevel
public final JZtxtcmdScript.UserFileset data
public JZtxtcmdFileset(JZtxtcmdExecuter.ExecuteLevel zgenlevel, JZtxtcmdScript.UserFileset data)
void listFiles(java.util.List<JZtxtcmdFilepath> files, JZtxtcmdFilepath zgenAccesspath, boolean expandFiles) throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldExceptionpublic java.util.List<JZtxtcmdFilepath> listFiles(JZtxtcmdFilepath accesspath, boolean expandFiles) throws java.lang.NoSuchFieldException
JZtxtcmdFilepath with 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.accesspath - The access path to the members of this fileset.expandFiles - true thenjava.lang.NoSuchFieldExceptionpublic java.util.List<JZtxtcmdFilepath> listFiles() throws java.lang.NoSuchFieldException
JZtxtcmdFilepath with 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
in that kind, that the shortest given local path is valid.java.lang.NoSuchFieldExceptionpublic java.util.List<JZtxtcmdFilepath> listFilesExpanded() throws java.lang.NoSuchFieldException
JZtxtcmdFilepath with 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
in that kind, that the shortest given local path is valid.java.lang.NoSuchFieldExceptionpublic java.lang.String toString()
toString in class java.lang.Object