Class ImageSequenceUtils


  • public class ImageSequenceUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<byte[]> sequenceDistribution​(java.util.List<byte[]> imageList, byte[] payload)
      Takes a payload and splits it in parts that fit in each image List entry is null if no payload split is present for the image
      static java.util.List<byte[]> shuffleDistribution()  
      • Methods inherited from class java.lang.Object

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

      • ImageSequenceUtils

        public ImageSequenceUtils()
    • Method Detail

      • sequenceDistribution

        public static java.util.List<byte[]> sequenceDistribution​(java.util.List<byte[]> imageList,
                                                                  byte[] payload)
                                                           throws java.io.IOException,
                                                                  NoImageException,
                                                                  UnsupportedImageTypeException
        Takes a payload and splits it in parts that fit in each image List entry is null if no payload split is present for the image
        Parameters:
        imageList - list of image to be used to split payload
        payload - payload to be split
        Returns:
        list of payload splits (index is equal to order of image list). Entry is Null if no payload for image
        Throws:
        java.io.IOException - if IO Exception is thrown during read operations
        NoImageException - read failed
        UnsupportedImageTypeException - UnsupportedImageTypeException
      • shuffleDistribution

        public static java.util.List<byte[]> shuffleDistribution()