* @throws IOException
* If there is an IO exception writing the {@link File}.
*/
public void writeMetFile(String id, Metadata metadata)
throws FileNotFoundException, IOException {
SerializableMetadata serMet = new SerializableMetadata(metadata, "UTF-8",
false);
serMet.writeMetadataToXmlStream(new FileOutputStream(new File(config
.getMetAreaPath(), id + config.getMetExtension())));
}