Skip to content

Commit c7a7418

Browse files
author
Niall Pemberton
committed
IO-262 add getter for FileFilter - thanks to Lae
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1080820 13f79535-47bb-0310-9956-ffa450edef68
1 parent 90c3202 commit c7a7418

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ public File getDirectory() {
223223
return rootEntry.getFile();
224224
}
225225

226+
/**
227+
* Return the fileFilter.
228+
*
229+
* @return the fileFilter
230+
* @since Commons IO 2.1
231+
*/
232+
public FileFilter getFileFilter() {
233+
return fileFilter;
234+
}
235+
226236
/**
227237
* Add a file system listener.
228238
*

0 commit comments

Comments
 (0)