class PdfBoxMigration implements Migrate, Serializable {

    public final ServiceDescription describe() {
        ServiceDescription.Builder builder =
                new ServiceDescription.Builder(NAME, Migrate.class.getName());
        builder.author("Claus Jensen <cjen@kb.dk>");
        builder.classname(this.getClass().getCanonicalName());
        builder.description("Extracts the textual "
                + "contents of pdf files and migrate it "
                + "to HTML 4.0 or UTF-16 text");

        Set<URI> outputformats = new HashSet<URI>();
        outputformats.add(outputformatUnicode);
        outputformats.add(outputformatHtml);

        FormatRegistry fm = FormatRegistryFactory.getFormatRegistry();
        List<MigrationPath> paths =
                MigrationPath.constructPaths(fm.getUrisForExtension("pdf"),
                        outputformats);

        builder.paths(paths.toArray(new MigrationPath[]{}));
        builder.version("0.1");

        return builder.build();
    }

}