Class CodeGenerator


  • public class CodeGenerator
    extends java.lang.Object
    Simply string code generator
    Author:
    P.Piernik
    • Constructor Summary

      Constructors 
      Constructor Description
      CodeGenerator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String generateCode​(int codeLength, char[] pool)  
      static java.lang.String generateMixedCharCode​(int codeLength)  
      static java.lang.String generateNumberCode​(int codeLength)  
      • Methods inherited from class java.lang.Object

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

      • CodeGenerator

        public CodeGenerator()
    • Method Detail

      • generateMixedCharCode

        public static java.lang.String generateMixedCharCode​(int codeLength)
      • generateNumberCode

        public static java.lang.String generateNumberCode​(int codeLength)
      • generateCode

        public static java.lang.String generateCode​(int codeLength,
                                                    char[] pool)