public final class FileList extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileList.Reader
A
FileList read protocol. |
static class |
FileList.Writer
A
FileList write protocol. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.FileStatus |
createFileStatus(org.apache.hadoop.fs.Path path)
Deprecated.
should not use this
|
static FileList.Reader |
createReader(InputStream input)
Creates a new reaer.
|
static FileList.Writer |
createWriter(OutputStream output)
Creates a new writer.
|
@Deprecated public static org.apache.hadoop.fs.FileStatus createFileStatus(org.apache.hadoop.fs.Path path)
FileStatus.path - the target pathIllegalArgumentException - if some parameters were nullpublic static FileList.Reader createReader(InputStream input) throws IOException
input - the input stream which contains a file listIOException - if failed to open the file listIllegalArgumentException - if some parameters were nullpublic static FileList.Writer createWriter(OutputStream output) throws IOException
output - the output stream to write a file listIOException - if failed to prepare a file listIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.