public void setFileTypes ( final String [ ] types ) { if ( types == null ) { setFileTypes ( ( List < String > ) null ) ; } else { setFileTypes ( Arrays . asList ( types ) ) ; } }
Set each file type to be accepted by the WFileWidget .