getBaseName static method

String getBaseName(
  1. String path
)

Compute base name from path

Implementation

static String getBaseName(String path)
{
  return path.split("/").last;
}