Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get file extention in java

//* manoj(tvmk)
String attachPath = (String) map.get("attachmentPath");//springboot
String fileName = FilenameUtils.getExtension(attachPath);//file extention
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #extention #java
ADD COMMENT
Topic
Name
4+5 =