jiakuan / gwt-uploader

An API to enable sophisticated file upload capabilities within a GWT application.
http://gwt-uploader.appspot.com/
Apache License 2.0
10 stars 6 forks source link

# GWT Uploader

build

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/

What is it?

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.

Key Features

Configure Maven dependency

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>

How to use GWT Uploader?

Please see examples with source code here: http://gwt-uploader.appspot.com/

How to contribute

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: