Here you can find the source of UnixNameFilter(String Name)
Parameter | Description |
---|---|
Name | input name |
public static String UnixNameFilter(String Name)
//package com.java2s; //License from project: Apache License public class Main { /**// w ww . j a v a 2 s . c om * { method * * @param Name input name * @return Filtered file name * } * @name UnixNameFilter * @function convert pc style filenames foo\bar to unix style foo/bar */ public static String UnixNameFilter(String Name) { if (Name == null) { return (null); } return (Name.replace('\\', '/')); } }