Package spoon.support.compiler
Class FilteringFolder
java.lang.Object
spoon.support.compiler.VirtualFolder
spoon.support.compiler.FilteringFolder
- All Implemented Interfaces:
SpoonFolder
,SpoonResource
A filtering resource, see https://github.com/INRIA/spoon/issues/877
-
Field Summary
Fields inherited from class spoon.support.compiler.VirtualFolder
files
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionremoveAllThatMatch(String regex)
Removes all resources matching the given Java regex Eg.Methods inherited from class spoon.support.compiler.VirtualFolder
addFile, addFolder, getAllFiles, getAllJavaFiles, getFiles, getFileSystemParent, getName, getParent, getPath, getSubFolders, isArchive, isFile, toFile, toString
-
Constructor Details
-
FilteringFolder
public FilteringFolder()
-
-
Method Details
-
removeAllThatMatch
Removes all resources matching the given Java regex Eg. resources3.removeIfMatches(".*packageprotected.*");
-