Interface JavaFileManager.Location

All Known Implementing Classes:
DocumentationTool.Location, StandardLocation
Enclosing interface:
JavaFileManager

public static interface JavaFileManager.Location

Interface for locations of file objects. Used by file managers to determine where to place or search for file objects.

Methods

Modifier and Type Method and Description
String getName()

Gets the name of this location.

boolean isOutputLocation()

Determines if this is an output location.

Methods

getName

String getName()

Gets the name of this location.

Returns:
a name

isOutputLocation

boolean isOutputLocation()

Determines if this is an output location. An output location is a location that is conventionally used for output.

Returns:
true if this is an output location, false otherwise

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/tools/JavaFileManager.Location.html