Package de.julielab.jcore.consumer.gnp
Class BioCCollectionWriter
- java.lang.Object
-
- de.julielab.jcore.consumer.gnp.BioCCollectionWriter
-
public class BioCCollectionWriter extends Object
Writes a collection of BioC documents into a single file. That file is created within a subdirectory of some base directory und changes over time to avoid overflowing directories.
-
-
Constructor Summary
Constructors Constructor Description BioCCollectionWriter(int numFilesPerDir, Path baseDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteBioCCollection(com.pengyifan.bioc.BioCCollection collection)
-
-
-
Constructor Detail
-
BioCCollectionWriter
public BioCCollectionWriter(int numFilesPerDir, Path baseDir)
-
-
Method Detail
-
writeBioCCollection
public void writeBioCCollection(com.pengyifan.bioc.BioCCollection collection) throws XMLStreamException, IOException- Throws:
XMLStreamExceptionIOException
-
-