List of utility methods to do File Naked Name Get
String | getFileWithoutEnding(String absolutePath) get File Without Ending return separateFileNameFromEnding(getFile(absolutePath));
|
String | getFileWithoutExtension(File f) get File Without Extension String fileName = f.getAbsolutePath(); int extensionStart = fileName.lastIndexOf('.'); if (extensionStart != -1) return fileName.substring(0, extensionStart); else return fileName; |
File | getFileWithoutExtension(File file) get File Without Extension return getFileWithOtherExtension(file, ""); |