public ArrayList < File > getFiles ( ) { //TODO Why ArrayList, change to list when in a proper IDE final JsArray < FileJS > filesJS = getFilesNative ( getElement ( ) ) ; final ArrayList < File > files = new ArrayList < File > ( ) ; if ( filesJS != null ) { for ( int i = 0 ; i < filesJS . length ( ) ; i ++ ) { files . add ( filesJS . get ( i ) ) ; } } return files ; }
Return array if all files added to dropzone .