com.jalios.jcms
Class FileDocument.AssociatedFileFilter
java.lang.Object
com.jalios.jcms.FileDocument.AssociatedFileFilter
- All Implemented Interfaces:
- FilenameFilter
- Enclosing class:
- FileDocument
public static class FileDocument.AssociatedFileFilter
- extends Object
- implements FilenameFilter
Filter files against a FileDocument instance to retrieve only
File which are associated to the specified FileDocument (PDF file, txt file, thumbnail etc).
This filters uses all regexp defined by properties file-document.associated-files.*
.
- Since:
- jcms-7.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDocument.AssociatedFileFilter
public FileDocument.AssociatedFileFilter(FileDocument fileDoc)
FileDocument.AssociatedFileFilter
public FileDocument.AssociatedFileFilter(File file)
accept
public boolean accept(File dir,
String name)
- Specified by:
accept
in interface FilenameFilter
Copyright © 2001-2010 Jalios SA. All Rights Reserved.