Class UploadHandler.UploadContext

java.lang.Object
com.wontlost.ckeditor.handler.UploadHandler.UploadContext
Enclosing interface:
UploadHandler

public static class UploadHandler.UploadContext extends Object
Upload context
  • Constructor Details

    • UploadContext

      public UploadContext(String fileName, String mimeType, long fileSize)
      Create an upload context
      Parameters:
      fileName - file name
      mimeType - MIME type
      fileSize - file size in bytes
  • Method Details

    • getFileName

      public String getFileName()
    • getMimeType

      public String getMimeType()
    • getFileSize

      public long getFileSize()
    • isImage

      public boolean isImage()
      Check if the file is an image
      Returns:
      true if the file is an image