Class EnterpriseFileHandler

java.lang.Object
com.levigo.jadice.web.demo.common.client.util.OpenFileHandler
com.levigo.jadice.web.demo.enterprise.client.openfile.EnterpriseFileHandler

public class EnterpriseFileHandler extends OpenFileHandler
  • Constructor Details

    • EnterpriseFileHandler

      public EnterpriseFileHandler()
  • Method Details

    • onFileOpen

      public void onFileOpen(PageView pageView, String filename, String data, String mimeType, long size)
      Description copied from class: OpenFileHandler
      Called when a file should be opened in the Viewer
      Specified by:
      onFileOpen in class OpenFileHandler
      Parameters:
      pageView - the PageView the File should show in
      filename - the name of the File (Filesystem of the User)
      data - the file encoded as DataUrl
      mimeType - the MIME/content type of the file
      size - the size of the file