Package nzilbb.util

Class TestIO


  • public class TestIO
    extends Object
    • Constructor Detail

      • TestIO

        public TestIO()
    • 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)