public class HdfsFileContentInfoFactory extends Object implements FileContentInfoFactory
| Constructor and Description |
|---|
HdfsFileContentInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
FileContentInfo |
create(FileContent fileContent)
Creates a FileContentInfo for a the given FileContent.
|
public FileContentInfo create(FileContent fileContent) throws FileSystemException
create in interface FileContentInfoFactoryfileContent - Use this FileContent to create a matching FileContentInfoFileSystemException - when a problem occurs creating the FileContentInfo.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.