PathUtils

Inheritance: java.lang.Object

public class PathUtils

The type Path.

Methods

Method Description
combine(String[] params) Combine paths parts using separator.
getFileName(String path) Gets file name.

combine(String[] params)

public static String combine(String[] params)

Combine paths parts using separator.

Parameters:

Parameter Type Description
params java.lang.String[] the paths parts

Returns: java.lang.String - the result path

getFileName(String path)

public static String getFileName(String path)

Gets file name.

Parameters:

Parameter Type Description
path java.lang.String the path

Returns: java.lang.String - the file name