public interface ExceptionThrowingMigrator
Migrates / converts text from one format to another.
This interface differs from ExceptionTolerantMigrator
in that it can only cope with a single Exception from the migration process, which
it will throw, stopping the migration.
Modifier and Type | Method and Description |
---|---|
String |
migrate(String input,
com.atlassian.renderer.RenderContext renderContext)
Migrate the supplied text to a different text format.
|
String migrate(String input, com.atlassian.renderer.RenderContext renderContext) throws XhtmlException
Migrate the supplied text to a different text format.
input
- the String to be migratedrenderContext
- the context for the rendering during this migrationXhtmlException
- should there be problems migrating the supplied input.Copyright © 2003–2017 Atlassian. All rights reserved.