# GWT Uploader
An API to enable sophisticated file upload capabilities within a GWT application.
The source code was forked from http://www.moxiegroup.com/moxieapps/gwt-uploader/ and applied a few fixes.
Please see examples with source code here: http://gwt-uploader.appspot.com/
GWT Uploader is a freely available open source GWT library that encapsulates the file upload capabilities provided by the File and XMLHttpRequest Level 2 APIs.
Using GWT Uploader allows for enhanced file upload dialogs (multiple uploads, drag and drop, queues, parallel streams, etc.) and interactive interfaces (upload progress indicators, real-time throughput display, upload cancellation, etc.) within GWT applications using pure Java code that provides a consistent experience across all browsers.
If the browser is capable of handling file uploads using a modern HTML5 approach, the upload is handled using pure DOM elements and Javascript events. In the case that the browser does not support the modern approach an error is shown.
Dynamic: GWT Uploader automatically includes the necessary plugin capabilities to expose various throughput and performance metrics of the uploads during and after an upload. Each File object has the following properties:
GWT Uploader is available in Maven central repository:
http://search.maven.org/#search%7Cga%7C1%7Cgwt-uploader
To add the dependency to your build.gradle
(for Gradle projects) or pom.xml
(for Maven projects), use the following configuration:
For Gradle projects:
implementation 'org.docstr:gwt-uploader:1.2.5'
For Maven projects:
<dependency>
<groupId>org.docstr</groupId>
<artifactId>gwt-uploader</artifactId>
<version>1.2.5</version>
</dependency>
Please see examples with source code here: http://gwt-uploader.appspot.com/
Use the following command to checkout the source code:
git clone git@github.com:jiakuan/gwt-uploader.git gwt-uploader-root
Here are the steps:
gradle clean build
to make sure no build errors