Class Result


  • public class Result
    extends Object
    This class encapsulates information about the outcome of an upload or a download operation. It is returned through the callback methods in the interfaces FileUploadListener and FileDownloadListener for multi-part operations. This is useful if the end user of the API is interested in knowing the outcome of a large file upload/download.
    • Constructor Detail

      • Result

        public Result()
        Default constructor
    • Method Detail

      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • getFullFileNames

        public List<String> getFullFileNames()
      • setFullFileNames

        public void setFullFileNames​(List<String> fullFileNames)
      • isSuccessful

        public boolean isSuccessful()
      • setSuccessful

        public void setSuccessful​(boolean successful)
      • getException

        public Exception getException()
      • setException

        public void setException​(Exception exception)
      • getErrorMessage

        public String getErrorMessage()
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
      • getOpMode

        public OpMode getOpMode()
      • setOpMode

        public void setOpMode​(OpMode opMode)
      • isMultiPart

        public boolean isMultiPart()
      • setMultiPart

        public void setMultiPart​(boolean multiPart)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object