public final class LocalLocationFactory extends Object implements LocationFactory
LocationFactory for creating local file Location.| Constructor and Description |
|---|
LocalLocationFactory()
Constructs a LocalLocationFactory that Location created will be relative to system root.
|
LocalLocationFactory(File basePath) |
public LocalLocationFactory()
public LocalLocationFactory(File basePath)
public Location create(String path)
LocationFactoryLocation of the given path.create in interface LocationFactorypath - The path representing the location.Location.public Location create(URI uri)
LocationFactorycreate in interface LocationFactoryuri - to the resource on the filesystem.Locationpublic Location getHomeLocation()
LocationFactorygetHomeLocation in interface LocationFactoryCopyright © 2013-2016 The Apache Software Foundation. All rights reserved.