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)
LocationFactory
Location
of the given path.create
in interface LocationFactory
path
- The path representing the location.Location
.public Location create(URI uri)
LocationFactory
create
in interface LocationFactory
uri
- to the resource on the filesystem.Location
public Location getHomeLocation()
LocationFactory
getHomeLocation
in interface LocationFactory
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.