org.apache.ace.obr.metadata.bindex
Class BIndexMetadataGenerator
java.lang.Object
org.apache.ace.obr.metadata.bindex.BIndexMetadataGenerator
- All Implemented Interfaces:
- MetadataGenerator
public class BIndexMetadataGenerator
- extends Object
- implements MetadataGenerator
Method Summary |
void |
generateMetadata(File directory)
Generates the repository.xml based upon the new set of Bundles in the given directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BIndexMetadataGenerator
public BIndexMetadataGenerator()
generateMetadata
public void generateMetadata(File directory)
throws IOException
- Description copied from interface:
MetadataGenerator
- Generates the repository.xml based upon the new set of Bundles in the given directory. The xml is created
as result of this method in the given directory in a file called repository.xml.
This methods creates the file in an atomic fashion (this includes retrying to overwrite an existing file until success).
- Specified by:
generateMetadata
in interface MetadataGenerator
- Parameters:
directory
- the location where to store the newly created repository.xml
- Throws:
IOException
- If I/O problems occur when generating the new meta data index file.
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.