Class TransformMessage


  • public class TransformMessage
    extends java.lang.Object
    This code should illustrate how to transform a message into another message without modifying the original.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String HOSTNAME  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static byte[] createRandomBinary​(int numberOfBytes)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • TransformMessage

        public TransformMessage()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createRandomBinary

        private static byte[] createRandomBinary​(int numberOfBytes)