}
@Override
public HdfsFile[] toHdfsObjects(
final File input ) {
final HdfsFile hfile = new HdfsFile();
hfile.setOriginalFilePath(input.getAbsolutePath());
try {
hfile.setOriginalFile(ByteBuffer.wrap(Files.readAllBytes(input.toPath())));
}
catch (final IOException e) {
LOGGER.warn(
"Unable to read GeoLife file: " + input.getAbsolutePath(),
e);