Package org.guvnor.ala.registry.vfs
Class VFSRegistryHelper.BySuffixFilter
- java.lang.Object
-
- org.guvnor.ala.registry.vfs.VFSRegistryHelper.BySuffixFilter
-
- All Implemented Interfaces:
org.uberfire.java.nio.file.DirectoryStream.Filter<org.uberfire.java.nio.file.Path>
- Enclosing class:
- VFSRegistryHelper
public static class VFSRegistryHelper.BySuffixFilter extends Object implements org.uberfire.java.nio.file.DirectoryStream.Filter<org.uberfire.java.nio.file.Path>
Helper class for filtering files by a suffix. Files that ends with the expected suffix verifies the filter.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.uberfire.java.nio.file.Path path)booleanequals(Object o)inthashCode()static VFSRegistryHelper.BySuffixFilternewFilter(String suffix)
-
-
-
Method Detail
-
newFilter
public static VFSRegistryHelper.BySuffixFilter newFilter(String suffix)
-
accept
public boolean accept(org.uberfire.java.nio.file.Path path) throws org.uberfire.java.nio.IOException- Specified by:
acceptin interfaceorg.uberfire.java.nio.file.DirectoryStream.Filter<org.uberfire.java.nio.file.Path>- Throws:
org.uberfire.java.nio.IOException
-
-