Class FilteringFolder

java.lang.Object
spoon.support.compiler.VirtualFolder
spoon.support.compiler.FilteringFolder
All Implemented Interfaces:
SpoonFolder, SpoonResource

public class FilteringFolder extends VirtualFolder
A filtering resource, see https://github.com/INRIA/spoon/issues/877
  • Constructor Details

    • FilteringFolder

      public FilteringFolder()
  • Method Details

    • removeAllThatMatch

      public FilteringFolder removeAllThatMatch(String regex)
      Removes all resources matching the given Java regex Eg. resources3.removeIfMatches(".*packageprotected.*");