|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SilverpeasFileProcessor
A processor of a SilverpeasFile instance. It performs some peculiar
tasks according to a file path in order to apply some additional business or technical rules
on the asked file.
| Nested Class Summary | |
|---|---|
static class |
SilverpeasFileProcessor.ProcessingContext
|
| Method Summary | |
|---|---|
int |
getPriority()
Gets the priority that permits to sort the processor list to execute. |
SilverpeasFile |
processAfter(SilverpeasFile file,
SilverpeasFileProcessor.ProcessingContext context)
Processes the specified SilverpeasFile and returns the new one. |
String |
processBefore(String path,
SilverpeasFileProcessor.ProcessingContext context)
Processes the specified path and returns the new path of the SilverpeasFile to get. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
int getPriority()
String processBefore(String path,
SilverpeasFileProcessor.ProcessingContext context)
path - the path of the asked file.context - the processing context.
SilverpeasFile processAfter(SilverpeasFile file,
SilverpeasFileProcessor.ProcessingContext context)
file - the SilverpeasFile to process.context - the processing context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||