org.apache.jetspeed.page.document.psml
Class FileSystemFolderHandler.DocumentTypeFilter

java.lang.Object
  extended by org.apache.jetspeed.page.document.psml.FileSystemFolderHandler.DocumentTypeFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
FileSystemFolderHandler

public class FileSystemFolderHandler.DocumentTypeFilter
extends Object
implements FilenameFilter


Field Summary
private  String documentType
           
 
Constructor Summary
FileSystemFolderHandler.DocumentTypeFilter(String documentType)
           
 
Method Summary
 boolean accept(File dir, String name)
           accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentType

private String documentType
Constructor Detail

FileSystemFolderHandler.DocumentTypeFilter

public FileSystemFolderHandler.DocumentTypeFilter(String documentType)
Method Detail

accept

public boolean accept(File dir,
                      String name)

accept

Specified by:
accept in interface FilenameFilter
Parameters:
dir -
name -
Returns:
See Also:
FilenameFilter.accept(java.io.File, java.lang.String)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.