Package com.jalios.jcms
Class FileDocument.AssociatedFileFilter
- java.lang.Object
-
- com.jalios.jcms.FileDocument.AssociatedFileFilter
-
- All Implemented Interfaces:
java.io.FilenameFilter
- Enclosing class:
- FileDocument
public static class FileDocument.AssociatedFileFilter extends java.lang.Object implements java.io.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
-
-
Constructor Summary
Constructors Constructor Description AssociatedFileFilter(FileDocument fileDoc)
AssociatedFileFilter(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File dir, java.lang.String name)
-
-
-
Constructor Detail
-
AssociatedFileFilter
public AssociatedFileFilter(FileDocument fileDoc)
-
AssociatedFileFilter
public AssociatedFileFilter(java.io.File file)
-
-