Infers a binary name of a file object based on a package-oriented location. The binary name returned might not be a valid binary name according to The Java™ Language Specification.
location | a location | |
file | a file object |
null the file object is not
found in the given location
IllegalArgumentException | if the location is a module-oriented location | |
IllegalStateException | if close has been called
and this file manager cannot be reopened |
Diagram: JavaFileManager