Class BlobHelper


  • public class BlobHelper
    extends Object
    Helpers around Blob objects.
    Since:
    5.6
    • Method Detail

      • getFileFromBlob

        @Deprecated
        public static File getFileFromBlob​(Blob blob)
        Deprecated.
        since 7.2, use Blob.getFile() directly
        If 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