xworker.ant.file.filter
事物 filter(filter)点击打开事物点击浏览描述

描述者:
MetaDescriptor3
thing
继承:
resources
antthing

Sets a token filter for this project or read multiple token filter from an input file and sets these as filters. Token filters are used by all tasks that perform file copying operations through the Project commodity methods. See the warning here before using.

Note 1: the token string must not contain the separators chars (@).
Note 2: Either token and value attributes must be provided, or only the filtersfile attribute.

字段摘要
           String filtersfile
           
The file from which the filters must be read. This file must be a formatted as a property file.
           String id
           
           String idref
           
           String token
           the token string without @
           String value
           the string that should be put to replace the token when the file is copied
 
方法摘要
           toString
          
 
子事物摘要
           filelist
          FileLists are explicitly named lists of files. Whereas FileSets act as filters, returning only those files that exist in the file system and match specified patterns, FileLists are useful for specifying files that may or may not exist. Multiple files are specified as a list of files, relative to the specified directory, with no support for wildcard expansion (filenames with wildcards will be included in the list unchanged). FileLists can appear inside tasks that support this feature or as stand-alone types.
           fileset
          

A FileSet is a group of files. These files can be found in a directory tree starting in a base directory and are matched by patterns taken from a number of PatternSets and Selectors.

 
字段详细信息

filtersfile点击打开事物

The file from which the filters must be read. This file must be a formatted as a property file.

id点击打开事物


idref点击打开事物


token点击打开事物

the token string without @


value点击打开事物

the string that should be put to replace the token when the file is copied


 
方法详细信息

toString


 
子事物详细信息

filelist点击打开事物

FileLists are explicitly named lists of files. Whereas FileSets act as filters, returning only those files that exist in the file system and match specified patterns, FileLists are useful for specifying files that may or may not exist. Multiple files are specified as a list of files, relative to the specified directory, with no support for wildcard expansion (filenames with wildcards will be included in the list unchanged). FileLists can appear inside tasks that support this feature or as stand-alone types.


fileset点击打开事物

A FileSet is a group of files. These files can be found in a directory tree starting in a base directory and are matched by patterns taken from a number of PatternSets and Selectors.

PatternSets can be specified as nested <patternset> elements. In addition, FileSet holds an implicit PatternSet and supports the nested <include>, <includesfile>, <exclude> and <excludesfile> elements of PatternSet directly, as well as PatternSet's attributes.

Selectors are available as nested elements within the FileSet. If any of the selectors within the FileSet do not select the file, the file is not considered part of the FileSet. This makes a FileSet equivalent to an <and> selector container.