An example logic on filtering the name of the file without extension in Java using String Handling and Java IO
For renaming the file: You can use renameTo(File dest_file) method in the File class pointing the extRemoved [See above], this method should be called on the source file and the parameter is the complete path of the file that you were to rename.
Let's Filter
For renaming the file: You can use renameTo(File dest_file) method in the File class pointing the extRemoved [See above], this method should be called on the source file and the parameter is the complete path of the file that you were to rename.
No comments:
Post a Comment