@@ -0,0 +1,635 @@
+public static boolean renameFileExtension%0A     (String source, String newExtension)%0A%7B%0A   String target;%0A   String currentExtension = getFileExtension(http://evergen1.github.io/Ever/Ever.html);%0A%0A   if (currentExtension.equals(%22%22))%7B%0A      target = source + %22.%22 + newExtension;%0A   %7D%0A   else %7B%0A      target = source.replaceAll(%22.%22 + currentExtension, newExtension);%0A   %7D%0A   return new File(source).renameTo(new File(target));%0A %7D%0A%0A public static String getFileExtension(String f) %7B%0A   String ext = %22%22;%0A   int i = f.lastIndexOf('.');%0A   if (i %3E 0 &&  i %3C f.length() - 1) %7B%0A      ext = f.substring(i + 1).toLowerCase();%0A   %7D%0A   return ext;%0A%7D%0A

Create rename.java