Class BlobHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.api.BlobHelper
-
public class BlobHelper extends Object
Helpers around Blob objects.- Since:
- 5.6
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static File
getFileFromBlob(Blob blob)
Deprecated.since 7.2, useBlob.getFile()
directly
-
-
-
Method Detail
-
getFileFromBlob
@Deprecated public static File getFileFromBlob(Blob blob)
Deprecated.since 7.2, useBlob.getFile()
directlyIf the blob is backed by an actual file, return it.Note that the File may be short-lived (temporary file), so should be used immediately.
- Returns:
- a File, or
null
if this blob doesn't have one
-
-