Package 

Interface FileTransformer


  • 
    public interface FileTransformer
    
                        

    FileTransformer is responsible for transforming the file before uploading it. This can be used to compress images or videos before uploading them. The transformed file will be uploaded to the CDN. The original file will not be modified.

    • Method Summary

      Modifier and Type Method Description
      abstract File transform(File file) Transforms the file before uploading it.
      • Methods inherited from class java.lang.Object

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

      • transform

        @WorkerThread() abstract File transform(File file)

        Transforms the file before uploading it. This can be used to compress images or videos before uploading them. It is safe to block