org.rhq.augeas.util
Class GlobFilter

java.lang.Object
  extended by org.rhq.augeas.util.GlobFilter
All Implemented Interfaces:
FileFilter

public class GlobFilter
extends Object
implements FileFilter

A filter implementing a glob pattern match.

Author:
Lukas Krejci

Field Summary
static char[] WILDCARD_CHARS
           
 
Constructor Summary
GlobFilter(String globPattern)
           
 
Method Summary
 boolean accept(File pathname)
           
 String getGlobPattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WILDCARD_CHARS

public static final char[] WILDCARD_CHARS
Constructor Detail

GlobFilter

public GlobFilter(String globPattern)
Method Detail

getGlobPattern

public String getGlobPattern()

accept

public boolean accept(File pathname)
Specified by:
accept in interface FileFilter


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.