Interface FileItemStream

    • Method Detail

      • getContentType

        String getContentType()
        Returns the content type passed by the browser or null if not defined.
        Returns:
        The content type passed by the browser or null if not defined.
      • getName

        String getName()
        Returns the original file name in the client's file system, as provided by the browser (or other client software). In most cases, this will be the base file name, without path information. However, some clients, such as the Opera browser, do include path information.
        Returns:
        The original file name in the client's file system.
      • getFieldName

        String getFieldName()
        Returns the name of the field in the multipart form corresponding to this file item.
        Returns:
        The name of the form field.
      • isFormField

        boolean isFormField()
        Determines whether or not a FileItem instance represents a simple form field.
        Returns:
        true if the instance represents a simple form field; false if it represents an uploaded file.