|
|
FileExtensionModule
: Interface FileExtensionModule
com.roxen.roxen
Interface FileExtensionModule
- public abstract interface FileExtensionModule
The interface for modules which handle a specific file extension.
- See Also:
Module
queryFileExtensions
public java.lang.String[] queryFileExtensions()
- Returns a list of of file extensions that should be handled
by this module. The extensions should be returned in lower case,
and without the period (.).
-
- Returns:
- an array of strings with file extension names
handleFileExtension
public RoxenResponse handleFileExtension(java.io.File file,
java.lang.String ext,
RoxenRequest id)
- Request that the module processes a file with a certain
extension.
-
- Parameters:
file - the file to be processed
ext - the file extension
id - the request object
- Returns:
- a response, or
null if the module
will not process this file.
|
|