com.arsdigita.acs
Interface TranslatorHandler
- public interface TranslatorHandler
Interface for a generic translator handler, to test incoming requests and
screen them out or pass them through as appropriate.
Defines a single method,
translate(orignalUrl fileToTranslate).
Implementing classes that will produce a translated file with a new
url that points to that file.
- See Also:
RequestProcessor
|
Field Summary |
static java.lang.String |
cvsId
|
|
Method Summary |
java.lang.String |
translate(java.lang.String originalUrl,
java.io.File fileToTranslate)
The translator handler interface. |
cvsId
public static final java.lang.String cvsId
translate
public java.lang.String translate(java.lang.String originalUrl,
java.io.File fileToTranslate)
throws javax.servlet.ServletException
- The translator handler interface.
- Parameters:
File - file to translate- Returns:
- produced url base to process that should point at translated file