Cards (4)

  • String toString() - Returns the String representation of the Path, eliminating double backlashes.
  • Path getFileName() - Returns the file or directory denoted by this Path; this is the last item in the sequence of name elements.
  • int getNameCount() - Returns the number of name elements in the Path.
  • Path getName(int) - Returns the name in the position of the Path specified by the integer parameter.