Java Unix Path unixPathStr(String anyPath)

Here you can find the source of unixPathStr(String anyPath)

Description

unix Path Str

License

Open Source License

Declaration

public static String unixPathStr(String anyPath) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String unixPathStr(String anyPath) {

        // Change front and back slashes to the OS Path separator-char direction
        String unixPath = anyPath.replace("\\", "/");
        return (unixPath);
    }//from   w  w w .  ja va  2  s  .c om
}

Related

  1. getUNIXfilePath(String fileName)
  2. getUnixRelativePath(File base, File path)
  3. toUNIXfilePath(String fileName)
  4. unixizeWindowsAbsolutePath(final String pathToCheck)
  5. unixPath(String sText)
  6. unixPathToWindows(String strPath)
  7. unixToUserPathName(String unixPathName)