All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.commons.io.util.FilePathUtils Maven / Gradle / Ivy

The newest version!
package com.mizhousoft.commons.io.util;

/**
 * String Utils
 * 
 * @version
 */
public abstract class FilePathUtils
{
	/**
	 * 清理路径
	 * 
	 * @param path
	 * @return
	 */
	public static String cleanPath(String path)
	{
		int index = path.indexOf(":");
		if (-1 != index)
		{
			path = path.substring(index + 1);
		}

		return path;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy