com.jalios.jcms
Class FileDocument.AssociatedFileFilter

java.lang.Object
  extended by com.jalios.jcms.FileDocument.AssociatedFileFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
FileDocument

public 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

Constructor Summary
FileDocument.AssociatedFileFilter(FileDocument fileDoc)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDocument.AssociatedFileFilter

public FileDocument.AssociatedFileFilter(FileDocument fileDoc)
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter


Copyright © 2001-2010 Jalios SA. All Rights Reserved.