Package org.scijava.annotations
Class AnnotationCombiner
- java.lang.Object
-
- org.scijava.annotations.AbstractIndexWriter
-
- org.scijava.annotations.AnnotationCombiner
-
- All Implemented Interfaces:
Combiner
public class AnnotationCombiner extends AbstractIndexWriter implements Combiner
Combines annotation indexes from all JAR files on the classpath.- Author:
- Curtis Rueden
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.scijava.annotations.AbstractIndexWriter
AbstractIndexWriter.StreamFactory
-
-
Constructor Summary
Constructors Constructor Description AnnotationCombiner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcombine(File outputDirectory)Reads in annotations from all available resources and combines them.Set<String>getAnnotationFiles()Scans for annotations files in every resource on the classpath.static voidmain(String[] args)-
Methods inherited from class org.scijava.annotations.AbstractIndexWriter
adapt, adapt, add, foundAnnotations, merge, write, writeMap
-
-
-
-
Method Detail
-
combine
public void combine(File outputDirectory) throws Exception
Reads in annotations from all available resources and combines them.
-
getAnnotationFiles
public Set<String> getAnnotationFiles() throws IOException
Scans for annotations files in every resource on the classpath.- Throws:
IOException
-
-