Package nzilbb.media.wav
Class TestFragmentExtractor
- java.lang.Object
-
- nzilbb.media.wav.TestFragmentExtractor
-
public class TestFragmentExtractor extends Object
Tester for FragmentExtractor
-
-
Constructor Summary
Constructors Constructor Description TestFragmentExtractor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidextract()Ensure a fragment can be extracted.voidextractChannel()Ensure a channel can be extracted.FilegetDir()Getter fordir: Directory for text files.static voidmain(String[] args)voidresample()Ensure a recording can be resampled.
-
-
-
Method Detail
-
extract
public void extract() throws ExceptionEnsure a fragment can be extracted.- Throws:
Exception
-
resample
public void resample() throws ExceptionEnsure a recording can be resampled.- Throws:
Exception
-
extractChannel
public void extractChannel() throws ExceptionEnsure a channel can be extracted.- Throws:
Exception
-
getDir
public File getDir()
Getter fordir: Directory for text files.- Returns:
- Directory for text files.
-
main
public static void main(String[] args)
-
-