The java.net.File.getName method is a part of the java.net package in the Java programming language. This method is used to retrieve the name of the file or directory represented by the File object. It returns a string that contains the name of the file or directory.
Java File.getName - 30 examples found. These are the top rated real world Java examples of java.net.File.getName extracted from open source projects. You can rate examples to help us improve the quality of examples.