Class ByteArrayUtils


  • public class ByteArrayUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteArrayUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] read​(java.io.File file)
      Util method, returns a File as a byte array
      • Methods inherited from class java.lang.Object

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

      • ByteArrayUtils

        public ByteArrayUtils()
    • Method Detail

      • read

        public static byte[] read​(java.io.File file)
                           throws java.io.IOException
        Util method, returns a File as a byte array
        Parameters:
        file - File to be read
        Returns:
        file as byte array
        Throws:
        java.io.IOException - read/write Exception