Class FileFilter
java.lang.Object
org.ametys.skinfactory.filefilter.FileFilter
File filters
-
Method Summary
Modifier and TypeMethodDescriptiongetModelFilter
(Path modelDir) This filter accepts allFile
s excepted CVS and SVN directories and root directory named "model"getModelVariantFilter
(String variantName, Path variantDir) This filter acceptsFile
s that are not the root variant's description files ([VARIANT_NAME].xml and [VARIANT_NAME].png) and that are not a CVS or SVN directoryThis filter accepts allFile
s excepted CVS and SVN directoriesThis filter accepts allFile
s excepted CVS and SVN directories
-
Method Details
-
getSkinDirectoryFilter
This filter accepts allFile
s excepted CVS and SVN directories- Returns:
- The filter
-
getSkinFileFilter
This filter accepts allFile
s excepted CVS and SVN directories- Returns:
- The filter
-
getModelFilter
This filter accepts allFile
s excepted CVS and SVN directories and root directory named "model"- Parameters:
modelDir
- The model root directory- Returns:
- the filter
-
getModelVariantFilter
This filter acceptsFile
s that are not the root variant's description files ([VARIANT_NAME].xml and [VARIANT_NAME].png) and that are not a CVS or SVN directory- Parameters:
variantName
- The variant namevariantDir
- The variant root dir- Returns:
- the filter
-