Package adams.flow.core
Class RatsBlobHelper
- java.lang.Object
-
- adams.flow.core.RatsBlobHelper
-
public class RatsBlobHelper extends Object
Helper class for converting blobs.- Version:
- $Revision: 2085 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description RatsBlobHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Blob
containerToWebservice(adams.data.blob.BlobContainer input)
Converts aBlobContainer
into a Webservice Blob objecct.static adams.data.blob.BlobContainer
webserviceToContainer(Blob input)
Converts a Webservice Blob object into aBlobContainer
.
-
-
-
Method Detail
-
containerToWebservice
public static Blob containerToWebservice(adams.data.blob.BlobContainer input)
Converts aBlobContainer
into a Webservice Blob objecct.- Parameters:
input
- theBlobContainer
- Returns:
- the Webservice Blob object
-
webserviceToContainer
public static adams.data.blob.BlobContainer webserviceToContainer(Blob input)
Converts a Webservice Blob object into aBlobContainer
.- Parameters:
input
- the Blob object- Returns:
- the
BlobContainer
-
-