resourceRecogniser, notificationReporter);
ByteArrayInputStream bais = new ByteArrayInputStream(
inputData.getBytes());
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
InputMetadata meta = new DefaultInputMetadata(filename, true);
resourceMigrator.migrate(meta, bais, new OutputCreator() {
public OutputStream createOutputStream() {
return baos;
}
});