Java Java String Format toJavaPath(String path)

Here you can find the source of toJavaPath(String path)

Description

to Java Path

License

Open Source License

Parameter

Parameter Description
path -

Return

-

Declaration

public static String toJavaPath(String path) 

Method Source Code

//package com.java2s;

public class Main {
    /**/* w w w. ja  v a2 s. c  om*/
     * @param path -
     * @return -
     */
    public static String toJavaPath(String path) {
        String javaPath = null;
        if (path != null) {
            javaPath = path.replace("\\", "/");
        }
        return javaPath;
    }
}

Related

  1. toJavaMethodName(String sqlNotation)
  2. toJavaMethodName(String... words)
  3. toJavaName(String name)
  4. toJavaName(String name)
  5. toJavaPackageName(String name)
  6. toJavaPath(String path)
  7. toJavaPattern(String pattern)
  8. toJavascriptArray(String[][] Vals)
  9. toJavaScriptEncode(String string)