# Uses of Class
org.apache.commons.configuration2.io.FileLocator

Packages that use FileLocator
Package
Description
org.apache.commons.configuration2
The Configuration main package.
org.apache.commons.configuration2.io
A package with classes related to I/O operations.
org.apache.commons.configuration2.plist
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.

- ## Uses of FileLocator in org.apache.commons.configuration2

  Methods in org.apache.commons.configuration2 with parameters of type FileLocator
  Modifier and Type
  Method
  Description
  `void`
  PropertiesConfiguration.`initFileLocator(FileLocator locator)`
  Stores the current `FileLocator` for a following IO operation.
  `void`
  XMLConfiguration.`initFileLocator(FileLocator loc)`
  Passes the current `FileLocator` to this object.
  `void`
  XMLPropertiesConfiguration.`initFileLocator(FileLocator locator)`
  Initializes this object with a `FileLocator`.

- ## Uses of FileLocator in org.apache.commons.configuration2.io

  Methods in org.apache.commons.configuration2.io that return FileLocator
  Modifier and Type
  Method
  Description
  `FileLocator`
  FileLocator.FileLocatorBuilder.`create()`
  Creates a new immutable `FileLocatorImpl` object based on the properties set so far for this builder.
  `static FileLocator`
  FileLocatorUtils.`fromMap(Map<String,?> map)`
  Creates a new `FileLocator` object with the properties defined in the given map.
  `static FileLocator`
  FileLocatorUtils.`fullyInitializedLocator(FileLocator locator)`
  Returns a `FileLocator` object based on the passed in one whose location is fully defined.
  `FileLocator`
  FileHandler.`getFileLocator()`
  Gets a `FileLocator` object with the specification of the file stored by this `FileHandler`.
  Methods in org.apache.commons.configuration2.io with parameters of type FileLocator
  Modifier and Type
  Method
  Description
  `static FileLocator.FileLocatorBuilder`
  FileLocatorUtils.`fileLocator(FileLocator src)`
  Returns a `FileLocatorBuilder` which is already initialized with the properties of the passed in `FileLocator`.
  `static FileLocator`
  FileLocatorUtils.`fullyInitializedLocator(FileLocator locator)`
  Returns a `FileLocator` object based on the passed in one whose location is fully defined.
  `void`
  FileLocatorAware.`initFileLocator(FileLocator locator)`
  Passes the current `FileLocator` to this object.
  `static boolean`
  FileLocatorUtils.`isFullyInitialized(FileLocator locator)`
  Returns a flag whether all components of the given `FileLocator` describing the referenced file are defined.
  `static boolean`
  FileLocatorUtils.`isLocationDefined(FileLocator locator)`
  Checks whether the specified `FileLocator` contains enough information to locate a file.
  `URL`
  AbsoluteNameLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  BasePathLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  ClasspathLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  CombinedLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  FileLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `static URL`
  FileLocatorUtils.`locate(FileLocator locator)`
  Locates the provided `FileLocator`, returning a URL for accessing the referenced file.
  `URL`
  FileSystemLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  HomeDirectoryLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `URL`
  ProvidedURLLocationStrategy.`locate(FileSystem fileSystem, FileLocator locator)`
  Tries to locate the specified file.
  `static URL`
  FileLocatorUtils.`locateOrThrow(FileLocator locator)`
  Tries to locate the file referenced by the passed in `FileLocator`.
  `static void`
  FileLocatorUtils.`put(FileLocator locator, Map<String,Object> map)`
  Stores the specified `FileLocator` in the given map.
  `void`
  FileHandler.`setFileLocator(FileLocator locator)`
  Sets the file to be accessed by this `FileHandler` as a `FileLocator` object.

- ## Uses of FileLocator in org.apache.commons.configuration2.plist

  Methods in org.apache.commons.configuration2.plist with parameters of type FileLocator
  Modifier and Type
  Method
  Description
  `void`
  XMLPropertyListConfiguration.`initFileLocator(FileLocator locator)`
  Stores the current file locator.