Class ByteArrayShell


  • public class ByteArrayShell
    extends java.lang.Object
    Author:
    Alex Usun
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteArrayShell()
      Creates a new shell instance.
      ByteArrayShell​(byte[] data)
      Creates a new shell instance.
      ByteArrayShell​(java.lang.String data)
      Creates a new shell instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] toByteArray()
      Returns inner data.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ByteArrayShell

        public ByteArrayShell​(byte[] data)
        Creates a new shell instance.
        Parameters:
        data - inner data value
      • ByteArrayShell

        public ByteArrayShell​(java.lang.String data)
        Creates a new shell instance.
        Parameters:
        data - compact data value
      • ByteArrayShell

        public ByteArrayShell()
        Creates a new shell instance.
    • Method Detail

      • toByteArray

        public byte[] toByteArray()
        Returns inner data.
        Returns:
        an inner data
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object