public List < String > getFileTypes ( ) { List < String > fileTypes = getComponentModel ( ) . fileTypes ; if ( fileTypes == null ) { return Collections . emptyList ( ) ; } return Collections . unmodifiableList ( fileTypes ) ; }
Returns a list of strings that determine the allowable file mime types accepted by the file input . If no types have been added an empty list is returned . An empty list indicates that all file types are accepted .