code: protected static String getName(String fullPath)
     {
        int sl = fullPath.lastIndexOf('/');
        return sl >= 0 ? fullPath.substring(sl + 1) : fullPath;
     }
docs: Extract node's name from full node path.
  
  @param fullPath full path to node
  @return node's name