private static java.io.File |
FileHandler.createFile(FileLocator loc) |
Creates a File object from the content of the given FileLocator object.
|
private static FileLocator |
FileLocatorUtils.createFullyInitializedLocatorFromURL(FileLocator src,
java.net.URL url) |
Creates a fully initialized FileLocator based on the specified URL.
|
private FileLocator |
FileHandler.createLocatorWithFileName(java.lang.String fileName,
FileLocator locator) |
Creates a FileLocator which is a copy of the passed in one, but has the given file name set to reference the
target file.
|
private java.lang.String |
HomeDirectoryLocationStrategy.fetchBasePath(FileLocator locator) |
Determines the base path to be used for the current locate() operation.
|
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.
|
(package private) static FileSystem |
FileLocatorUtils.getFileSystem(FileLocator locator) |
Obtains a non-null FileSystem object from the passed in FileLocator .
|
(package private) static FileLocationStrategy |
FileLocatorUtils.getLocationStrategy(FileLocator locator) |
Gets a non null FileLocationStrategy object from the passed in FileLocator .
|
private void |
FileLocator.FileLocatorBuilder.initBuilder(FileLocator src) |
Initializes the properties of this builder from the passed in locator object.
|
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.
|
private void |
FileHandler.load(java.io.InputStream in,
FileLocator locator) |
Internal helper method for loading a file from the given input stream.
|
private void |
FileHandler.load(java.lang.String fileName,
FileLocator locator) |
Internal helper method for loading a file from a file name.
|
private void |
FileHandler.load(java.net.URL url,
FileLocator locator) |
Internal helper method for loading a file from the given URL.
|
private void |
FileHandler.load(FileLocator locator) |
Internal helper method for loading the associated file from the location specified in the given FileLocator .
|
java.net.URL |
AbsoluteNameLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
BasePathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
ClasspathLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
CombinedLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
FileLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
static java.net.URL |
FileLocatorUtils.locate(FileLocator locator) |
Locates the provided FileLocator , returning a URL for accessing the referenced file.
|
java.net.URL |
FileSystemLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
HomeDirectoryLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
java.net.URL |
ProvidedURLLocationStrategy.locate(FileSystem fileSystem,
FileLocator locator) |
Tries to locate the specified file.
|
static java.net.URL |
FileLocatorUtils.locateOrThrow(FileLocator locator) |
Tries to locate the file referenced by the passed in FileLocator .
|
static void |
FileLocatorUtils.put(FileLocator locator,
java.util.Map<java.lang.String,java.lang.Object> map) |
Stores the specified FileLocator in the given map.
|
private void |
FileHandler.save(java.io.File file,
FileLocator locator) |
Internal helper method for saving data to the given File .
|
private void |
FileHandler.save(java.io.OutputStream out,
FileLocator locator) |
Internal helper method for saving a file to the given output stream.
|
private void |
FileHandler.save(java.lang.String fileName,
FileLocator locator) |
Internal helper method for saving data to the given file name.
|
private void |
FileHandler.save(java.net.URL url,
FileLocator locator) |
Internal helper method for saving data to the given URL.
|
private void |
FileHandler.save(FileLocator locator) |
Internal helper method for saving data to the internal location stored for this object.
|
void |
FileHandler.setFileLocator(FileLocator locator) |
Sets the file to be accessed by this FileHandler as a FileLocator object.
|