org.scijava.annotations
Class AnnotationCombiner

java.lang.Object
  extended by org.scijava.annotations.AbstractIndexWriter
      extended by 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
AnnotationCombiner()
           
 
Method Summary
 void combine(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 void main(String[] args)
           
 
Methods inherited from class org.scijava.annotations.AbstractIndexWriter
adapt, adapt, add, foundAnnotations, merge, write, writeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationCombiner

public AnnotationCombiner()
Method Detail

combine

public void combine(File outputDirectory)
             throws Exception
Reads in annotations from all available resources and combines them.

Specified by:
combine in interface Combiner
Throws:
Exception

getAnnotationFiles

public Set<String> getAnnotationFiles()
                               throws IOException
Scans for annotations files in every resource on the classpath.

Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2009–2014 SciJava. All rights reserved.