The java.awt.File.getParentFile method is a function in the Java programming language that is used to obtain the parent directory of a specified file or directory. This method returns a java.awt.File object representing the parent directory of the current file or directory. If there is no parent directory, null is returned.
Java File.getParentFile - 19 examples found. These are the top rated real world Java examples of java.awt.File.getParentFile extracted from open source projects. You can rate examples to help us improve the quality of examples.