*/
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();
}