Class FileFilter
java.lang.Object
org.exoplatform.webui.ext.filter.impl.FileFilter
- All Implemented Interfaces:
UIExtensionFilter
Created by The eXo Platform SARL
Author : Dang Van Minh
minh.dang@exoplatform.com
Aug 18, 2009
7:08:32 AM
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the given context is accepted by this filtergetType()Indicates the type of the current filtervoidAllows to execute some code when the filter rejects the given context
-
Field Details
-
mimeTypes
-
-
Constructor Details
-
FileFilter
public FileFilter()
-
-
Method Details
-
accept
Description copied from interface:UIExtensionFilterIndicates whether the given context is accepted by this filter- Specified by:
acceptin interfaceUIExtensionFilter- Parameters:
context- the context to check- Returns:
trueif the context is acceptedfalseotherwise- Throws:
Exception- if an error occurs
-
getType
Description copied from interface:UIExtensionFilterIndicates the type of the current filter- Specified by:
getTypein interfaceUIExtensionFilter- Returns:
- the type of the filter
-
onDeny
Description copied from interface:UIExtensionFilterAllows to execute some code when the filter rejects the given context- Specified by:
onDenyin interfaceUIExtensionFilter- Parameters:
context- the context- Throws:
Exception- if an error occurs
-