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 FileContentInfoFactory
fileContent
- Use this FileContent to create a matching FileContentInfoFileSystemException
- when a problem occurs creating the FileContentInfo.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.