Save
...
File input and output
The Path and Files Classes
Path Methods:
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Martinez
Visit profile
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.