public static PathStrategy startWithPath(final String path) {
        return new PathStrategy() {

            @Override
            public boolean accept(String path) {
                return path.startsWith(path);
            }
            
        };
    }
public static PathStrategy startWithPath ( final String path ) { return new PathStrategy ( ) { @ Override public boolean accept ( String path ) { return path . startsWith ( path ) ; } } ; }
@param path
@return