Package | Description |
---|---|
org.apache.twill.filesystem |
Contains HDFS location classes.
|
Modifier and Type | Method and Description |
---|---|
Location |
Location.append(String child)
Appends the child to the current
Location . |
Location |
FileContextLocationFactory.create(String path) |
Location |
LocalLocationFactory.create(String path) |
Location |
LocationFactory.create(String path)
Creates an instance of
Location of the given path. |
Location |
FileContextLocationFactory.create(URI uri) |
Location |
LocalLocationFactory.create(URI uri) |
Location |
LocationFactory.create(URI uri)
|
Location |
FileContextLocationFactory.getHomeLocation() |
Location |
LocalLocationFactory.getHomeLocation() |
Location |
LocationFactory.getHomeLocation()
Returns the home location.
|
Location |
Location.getTempFile(String suffix)
Returns unique location for temporary file to be placed near this location.
|
Location |
Location.renameTo(Location destination)
Moves the file or directory denoted by this abstract pathname.
|
Modifier and Type | Method and Description |
---|---|
List<Location> |
Location.list()
List the locations under this location.
|
Modifier and Type | Method and Description |
---|---|
Location |
Location.renameTo(Location destination)
Moves the file or directory denoted by this abstract pathname.
|
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.