public abstract class AbstractExceptionTolerantMigrator extends Object implements ExceptionTolerantMigrator
ExceptionTolerantMigrator which provides a default implementation of the
 deprecated migrate(String, com.atlassian.renderer.RenderContext, java.util.List) method, which delegates
 to the ExceptionTolerantMigrator.migrate(String, com.atlassian.confluence.content.render.xhtml.ConversionContext) method.ExceptionTolerantMigrator.MigrationResult| Constructor and Description | 
|---|
| AbstractExceptionTolerantMigrator() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | migrate(String content,
       com.atlassian.renderer.RenderContext renderContext,
       List<RuntimeException> exceptions)
 Migrate the supplied text to a different text format. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmigratepublic String migrate(String content, com.atlassian.renderer.RenderContext renderContext, List<RuntimeException> exceptions)
ExceptionTolerantMigratorMigrate 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.
migrate in interface ExceptionTolerantMigratorcontent - 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)Copyright © 2003–2020 Atlassian. All rights reserved.