Class KStringTest


  • public class KStringTest
    extends java.lang.Object
    Test of KString and its format method.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      Constructor Description
      KStringTest()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Tests parsing and conversion.
      static int testMultipleTags()
      Test of multiple tags in PLAIN strings that fails.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KStringTest

        public KStringTest()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Tests parsing and conversion.
        Parameters:
        args - Arguments, array of at least one argument, the first argument should be "1" for HTML KString type or other value for PLAIN KString type. The remaining arguments build up a space delimited raw string from which the KString is created from. The '[]' bracket characters are replaced with '>' and '<' respectively and '@' will be replaced with '&' as these characters are difficult to specify on command line.
      • testMultipleTags

        public static int testMultipleTags()
        Test of multiple tags in PLAIN strings that fails.