public interface CommunicationTarSerializer extends CommunicationSerializer
Communication
objects to .tar
files.Modifier and Type | Method and Description |
---|---|
Iterator<edu.jhu.hlt.concrete.Communication> |
fromTar(InputStream is) |
void |
toTar(Collection<edu.jhu.hlt.concrete.Communication> commColl,
Path outPath) |
default void |
toTar(Collection<edu.jhu.hlt.concrete.Communication> commColl,
String outPathString) |
fromBytes, fromInputStream, fromPath, fromPathString, toBytes
fromBytes, fromInputStream, fromPath, fromPathString
void toTar(Collection<edu.jhu.hlt.concrete.Communication> commColl, Path outPath) throws ConcreteException, IOException
ConcreteException
IOException
default void toTar(Collection<edu.jhu.hlt.concrete.Communication> commColl, String outPathString) throws ConcreteException, IOException
ConcreteException
IOException
Iterator<edu.jhu.hlt.concrete.Communication> fromTar(InputStream is) throws ConcreteException, IOException
is
- an InputStream
. Should be closed when finished.Iterator
of Communication
objectsConcreteException
- on serialization error (e.g., if a Communication
is missing required fields)IOException
- on I/O errorCopyright © 2016 Johns Hopkins University HLTCOE. All rights reserved.