Class BaseActionEventUpload

java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
org.eclnt.jsfserver.elements.BaseActionEvent
org.eclnt.jsfserver.elements.events.BaseActionEventUpload
All Implemented Interfaces:
Serializable, IBaseActionEvent

public class BaseActionEventUpload extends BaseActionEvent
See Also:
  • Constructor Details

    • BaseActionEventUpload

      public BaseActionEventUpload(javax.faces.component.UIComponent component, String type)
  • Method Details

    • getHexByteString

      public String getHexByteString()
      Uploaded content as hex byte string, e.g. "af0c48...". In case of multiple file upload this is the data for the first file.
    • getHexBytes

      public byte[] getHexBytes()
      Uploaded content as byte array. In case of multiple file upload this is the data for the first file.
    • getClientFileName

      public String getClientFileName()
      Name of the file within the client. In case of multiple file upload this is the data for the first file.
    • getNumberOfUploadedFiles

      public int getNumberOfUploadedFiles()
      Returns:
      Number of files that were uploaded.
    • getHexByteString

      public String getHexByteString(int fileNumber)
    • getHeyBytes

      public byte[] getHeyBytes(int fileNumber)
      Deprecated.
      This method contains some typo in its name... but is not removed because it is already used...
    • getHexBytes

      public byte[] getHexBytes(int fileNumber)
      Get content of file.
    • getClientFileName

      public String getClientFileName(int fileNumber)