Javadoc
Returns a flag whether all components of the given
FileLocatordescribing the referenced file are defined. In order to reference a file,
it is not necessary that all components are filled in (for instance, the
URL alone is sufficient). For some use cases however, it might be of
interest to have different methods for accessing the referenced file.
Also, depending on the filled out properties, there is a subtle
difference how the file is accessed: If only the file name is set (and
optionally the base path), each time the file is accessed a
locate() operation has to be performed to uniquely identify the
file. If however the URL is determined once based on the other components
and stored in a fully defined
FileLocator, it can be used
directly to identify the file. If the passed in
FileLocator is
null, result is false.