Class UploadableFile

java.lang.Object
com.onlinepayments.domain.UploadableFile

public class UploadableFile extends Object
A file that can be uploaded.
  • Constructor Details

  • Method Details

    • getFileName

      public String getFileName()
      Returns:
      The name of the file.
    • getContent

      public InputStream getContent()
      Returns:
      An input stream with the file's content.
    • getContentType

      public String getContentType()
      Returns:
      The file's content type.
    • getContentLength

      public long getContentLength()
      Returns:
      The file's content length, or -1 if not known.