Class RatsBlobHelper


  • public class RatsBlobHelper
    extends Object
    Helper class for converting blobs.
    Version:
    $Revision: 2085 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • RatsBlobHelper

        public RatsBlobHelper()
    • Method Detail

      • containerToWebservice

        public static Blob containerToWebservice​(adams.data.blob.BlobContainer input)
        Converts a BlobContainer into a Webservice Blob objecct.
        Parameters:
        input - the BlobContainer
        Returns:
        the Webservice Blob object
      • webserviceToContainer

        public static adams.data.blob.BlobContainer webserviceToContainer​(Blob input)
        Converts a Webservice Blob object into a BlobContainer.
        Parameters:
        input - the Blob object
        Returns:
        the BlobContainer