public class PraatTextfileDoubleDataSource extends TextReaderDoubleDataSource
reader
dataLength, inputSource
NOT_SPECIFIED
Constructor and Description |
---|
PraatTextfileDoubleDataSource(File file)
Read Double data from a Text file in Praat short text file format.
|
PraatTextfileDoubleDataSource(Reader reader)
Read Double data from a Text file in Praat short text file format.
|
Modifier and Type | Method and Description |
---|---|
int |
getData(double[] target,
int targetPos,
int length)
Try to get length doubles from this DoubleDataSource, and copy them into target, starting from targetPos.
|
hasMoreData
available, getAllData, getData, getData, getDataLength
public PraatTextfileDoubleDataSource(File file) throws FileNotFoundException
file
- fileFileNotFoundException
- FileNotFoundExceptionpublic PraatTextfileDoubleDataSource(Reader reader)
reader
- readerpublic int getData(double[] target, int targetPos, int length)
getData
in interface DoubleDataSource
getData
in class TextReaderDoubleDataSource
target
- the double array to write intotargetPos
- position in target where to start writinglength
- the amount of data requestedCopyright © 2000–2016 DFKI GmbH. All rights reserved.