Package eu.planets_project.services.datatypes.ServiceDescription

Examples of eu.planets_project.services.datatypes.ServiceDescription.Builder


             */
            String[] split = metadataType.sample.split("\\.");
            String extension = split[split.length - 1];
            inputFormats.addAll(formatRegistry.getUrisForExtension(extension));
        }
        Builder builder = new ServiceDescription.Builder("New Zealand Metadata Extractor Service",
                Characterise.class.getName());
        builder.author("Fabian Steeg");
        builder.classname(this.getClass().getName());
        builder
                .description("Metadata extraction service based on the Metadata Extraction Tool of the National "
                        + "Library of New Zealand (patched 3.4GA).");
        builder.serviceProvider("The Planets Consortium");
        builder.tool(Tool.create(null, "New Zealand Metadata Extractor", "3.4GA (patched)", null,
                "http://meta-extractor.sourceforge.net/"));
        builder
                .furtherInfo(URI
                        .create("http://sourceforge.net/tracker/index.php?func=detail&aid=2027729&group_id=189407"
                                + "&atid=929202"));
        builder.inputFormats(inputFormats.toArray(new URI[] {}));
        return builder.build();
    }
View Full Code Here

TOP

Related Classes of eu.planets_project.services.datatypes.ServiceDescription.Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.