File.getName

File.getName

Class Overview | Class Members | This Package | All Packages

Syntax
public String getName()
Returns
the name of the file (without any directory components) represented by this File object.
Description
Returns the name of the file represented by this object. The name is everything in the pathame after the last occurrence of the separator character.

See Also
getPath, separator