Class WebFile

java.lang.Object
javaforce.service.WebFile

public class WebFile extends Object
  • Field Details

    • file

      public File file
      Uploaded file.
    • name

      public String name
      Name of file (excluding any path info)
    • contentType

      public String contentType
      Content Type.
  • Constructor Details

    • WebFile

      public WebFile()
  • Method Details

    • move

      public boolean move(File dest) throws Exception
      Moves uploaded file to dest file. (optional)
      Throws:
      Exception
    • getName

      public String getName()
    • getContentType

      public String getContentType()
    • getInputStream

      public InputStream getInputStream()