Class FileUploadPlugin

  • All Implemented Interfaces:
    XWikiPluginInterface

    public class FileUploadPlugin
    extends XWikiDefaultPlugin
    Plugin that offers access to uploaded files. The uploaded files are automatically parsed and preserved as a list of FileItems.
    Version:
    $Id: a2c8e3f2ad8ff824795bb4d56734745a2ae7d0b3 $
    • Field Detail

      • FILE_LIST_KEY

        public static final String FILE_LIST_KEY
        The context name of the uploaded file list. It can be used to retrieve the list of uploaded files from the context. Note that the order of the list is not guaranteed and might depend of the servlet engine used.
        See Also:
        Constant Field Values
      • UPLOAD_MAXSIZE_PARAMETER

        public static final String UPLOAD_MAXSIZE_PARAMETER
        The name of the parameter that can be set in the global XWiki preferences to override the default maximum file size.
        See Also:
        Constant Field Values
      • UPLOAD_DEFAULT_MAXSIZE

        public static final long UPLOAD_DEFAULT_MAXSIZE
        The default maximum size for uploaded documents. This limit can be changed using the upload_maxsize XWiki preference.
        See Also:
        Constant Field Values
      • UPLOAD_SIZETHRESHOLD_PARAMETER

        public static final String UPLOAD_SIZETHRESHOLD_PARAMETER
        The name of the parameter that can be set in the global XWiki preferences to override the default size threshold for on-disk storage.
        See Also:
        Constant Field Values