org.rhq.plugins.augeas.helper
Class GlobFilter

java.lang.Object
  extended by org.rhq.plugins.augeas.helper.GlobFilter
All Implemented Interfaces:
java.io.FileFilter

public class GlobFilter
extends java.lang.Object
implements java.io.FileFilter

A filter implementing a glob pattern match.

Author:
Lukas Krejci

Field Summary
static char[] WILDCARD_CHARS
           
 
Constructor Summary
GlobFilter(java.lang.String globPattern)
           
 
Method Summary
 boolean accept(java.io.File pathname)
           
 java.lang.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(java.lang.String globPattern)
Method Detail

getGlobPattern

public java.lang.String getGlobPattern()

accept

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


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