Java Rename File rename(String platformLibPath, String newPath)

Here you can find the source of rename(String platformLibPath, String newPath)

Description

rename

License

Apache License

Declaration

public static void rename(String platformLibPath, String newPath) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.*;

public class Main {
    public static void rename(String platformLibPath, String newPath) {
        new File(platformLibPath).renameTo(new File(newPath));
    }/*from  www . j a  v  a 2 s .c om*/
}

Related

  1. rename(String fileName, String distFile)
  2. rename(String from, String to)
  3. rename(String oldFile, String newFile)
  4. rename(String oldName, String newName)
  5. reName(String oldName, String newName)
  6. reName(String s, String s1)
  7. rename(String srcFilename, String destFilename)
  8. rename(String srcPath, String destPath)
  9. rename(String strFileName, String strRenameToName)