RegExprFileFilter: Class filtering pathnames based on a regular expression

Description Usage Arguments Fields and Methods Author(s) See Also

Description

Package: R.io
Class RegExprFileFilter

Object
~~|
~~+--FileFilter
~~~~~~~|
~~~~~~~+--RegExprFileFilter

Directly known subclasses:

public static class RegExprFileFilter
extends FileFilter

Class filtering pathnames based on a regular expression.

Usage

1

Arguments

mask

Regular expression mask to which the pathname will be matched against. Default is ".", which accepts everything.

Fields and Methods

Methods:

accept Tests if the given pathname is accepted by the regular expression or not.
as.character Gets a string representation of the regular expression file filter.
getMask Gets the regular expression mask currently used.
setMask Sets the regular expression mask.

Methods inherited from FileFilter:
accept

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstanciationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, save

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information about regular expressions, see grep(), regexpr etc. The interface FileFilter and the methods File.listDir and File.listFiles in the File class. For more information see RegExprFileFilter..


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.