Class STransformation


  • public class STransformation
    extends java.lang.Object
    Static helper class for transformation issues.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.Map<java.lang.String,​java.lang.String> ALIASES
      Static map of known aliases used for decoding.
    • Constructor Summary

      Constructors 
      Constructor Description
      STransformation()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getClassname​(java.lang.String name)
      Get the actual class name for an alias namr.
      static java.lang.String registerClass​(java.lang.Class<?> clazz)
      Register a class to be able to handle its alias on decoding.
      • Methods inherited from class java.lang.Object

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

      • ALIASES

        protected static final java.util.Map<java.lang.String,​java.lang.String> ALIASES
        Static map of known aliases used for decoding.
    • Constructor Detail

      • STransformation

        public STransformation()
    • Method Detail

      • registerClass

        public static java.lang.String registerClass​(java.lang.Class<?> clazz)
        Register a class to be able to handle its alias on decoding.
        Returns:
        The class name or alias, if any.
      • getClassname

        public static java.lang.String getClassname​(java.lang.String name)
        Get the actual class name for an alias namr.