|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionTolerantMigrator
Migrates / converts text from one text format to another.
Implementations should be tolerant to Exceptions that occur during the migration and still return suitably migrated content with the exceptions populated in the supplied List.
Method Summary | |
---|---|
String |
migrate(String input,
com.atlassian.renderer.RenderContext renderContext,
List<RuntimeException> exceptions)
Migrate the supplied text to a different text format. |
Method Detail |
---|
String migrate(String input, com.atlassian.renderer.RenderContext renderContext, List<RuntimeException> exceptions)
Migrate the supplied text to a different text format.
It should be noted that if the exceptions parameter is populated during execution then you cannot necessarily guarantee that the returned content is of a format you expect to deal with. You must check the implementation of this interface for details on the exception behaviour with respect to the return value.
input
- the String to be migratedrenderContext
- the context for the rendering during this migrationexceptions
- a List to add any migration exceptions too as they occur (this may be null if you don't care about exceptions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |