public class CallablePathToCommunication extends Object implements Callable<edu.jhu.hlt.concrete.Communication>
Callable
that can be used to
parallelize loading of Communication
objects from serialized files
on disk.Constructor and Description |
---|
CallablePathToCommunication(Path p)
Single arg ctor: pass in a
Path to a serialized Communication file on disk. |
Modifier and Type | Method and Description |
---|---|
edu.jhu.hlt.concrete.Communication |
call()
Read in the file from disk as a byte array, then deserialize it into a
Communication
object. |
Copyright © 2016 Johns Hopkins University HLTCOE. All rights reserved.