Package Summary  Overview Summary

class:JavaFileManager.Location [CHANGED]

  • All Known Implementing Classes:
    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.

method:getName() [NONE]

  • getName

    java.lang.String getName()
    Returns the name of this location.
    Returns:
    a name

method:isOutputLocation() [CHANGED]

  • isOutputLocation

    boolean isOutputLocation()
    Determines if this is an output location. An output location is a location that is conventionally used for output.
    API Note:
    An output location may be used to write files in either a package-oriented organization or in a module-oriented organization.
    Returns:
    true if this is an output location, false otherwise
  • 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
  • isOutputLocation

    boolean isOutputLocation()
    Determines if this is an output location. An output location is a location that is conventionally used for output.
    API Note:
    An output location may be used to write files in either a package-oriented organization or in a module-oriented organization.
    Returns:
    true if this is an output location, false otherwise

method:isModuleOrientedLocation() [ADDED]

  • isModuleOrientedLocation

    default boolean isModuleOrientedLocation()
    
    Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy. The result of this method is undefined if this is an output location.
    Implementation Note:
    This implementation returns true if the name includes the word "MODULE".
    Returns:
    true if this location is expected to contain modules
    Since:
    9