Package nzilbb.util
Class TestIO
- java.lang.Object
-
- nzilbb.util.TestIO
-
public class TestIO extends Object
-
-
Constructor Summary
Constructors Constructor Description TestIO()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Extension()
Ensure file extensions are correctly identified.static void
main(String[] args)
void
OnlyASCII()
Ensure non-ASCII characters are correctly removedvoid
SafeFileNameUrl()
Ensure file-name/URL sanitization works.void
WithoutExtension()
Ensure file extensions are correctly stripped.
-
-
-
Method Detail
-
Extension
public void Extension() throws Exception
Ensure file extensions are correctly identified.- Throws:
Exception
-
WithoutExtension
public void WithoutExtension() throws Exception
Ensure file extensions are correctly stripped.- Throws:
Exception
-
OnlyASCII
public void OnlyASCII()
Ensure non-ASCII characters are correctly removed
-
SafeFileNameUrl
public void SafeFileNameUrl()
Ensure file-name/URL sanitization works.
-
main
public static void main(String[] args)
-
-