String function ( final String arg0 ) { String loc0 = null ; int loc1 = arg0 . loc1 ( '.' ) ; if ( loc1 > 0 ) { loc0 = arg0 . substring ( loc1 + 1 ) ; } return loc0 ; }
returns the file extension based on the position of the ' . ' in the path . the paths as `` xxx.y / toto '' are not handled . concode_field_sep String mimeTypeString concode_elem_sep Map<String,MimeType> fileExtensions concode_elem_sep MimeType PKCS7 concode_elem_sep MimeType ASICS concode_elem_sep MimeType BINARY concode_elem_sep MimeType TEXT concode_elem_sep MimeType PDF concode_elem_sep MimeType ASICE concode_elem_sep Map<String,MimeType> mimeTypes concode_elem_sep MimeType XML concode_field_sep String getMimeTypeString concode_elem_sep String getExtension concode_elem_sep void defineFileExtension concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep MimeType fromFileName concode_elem_sep void setMimeTypeString concode_elem_sep MimeType fromFile concode_elem_sep MimeType fromMimeTypeString