Constructor and Description |
---|
RunnableCommunicationFileLoader(edu.jhu.hlt.utilt.io.ExistingNonDirectoryFile f,
BlockingQueue<edu.jhu.hlt.concrete.Communication> q) |
RunnableCommunicationFileLoader(Path p,
BlockingQueue<edu.jhu.hlt.concrete.Communication> q) |
public RunnableCommunicationFileLoader(Path p, BlockingQueue<edu.jhu.hlt.concrete.Communication> q) throws NoSuchFileException, edu.jhu.hlt.utilt.io.NotFileException
p
- the Path
from which to read files. Must be a
.tar.gz
file of Communication
objects.q
- the ArrayBlockingQueue
to put communications onedu.jhu.hlt.utilt.io.NotFileException
- if the path is a directoryNoSuchFileException
- if nothing exists at the path objectpublic RunnableCommunicationFileLoader(edu.jhu.hlt.utilt.io.ExistingNonDirectoryFile f, BlockingQueue<edu.jhu.hlt.concrete.Communication> q)
f
- an ExistingNonDirectoryFile
.tar.gz
of Communication
objectsq
- the ArrayBlockingQueue
to push communications on toCopyright © 2016 Johns Hopkins University HLTCOE. All rights reserved.