This commit is contained in:
chenxi071990 2014-09-22 14:24:17 +08:00
parent 4a68d9b961
commit 48608324c9
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ public class CatHdfsHelper {
private void setHdfsService(CatHdfsService hdfsService) { private void setHdfsService(CatHdfsService hdfsService) {
this.hdfsService = hdfsService; this.hdfsService = hdfsService;
} }
public HdfsFileModel getFile(String path) { public HdfsFileModel getFile(String path) {
HdfsFileModel model = new HdfsFileModel(); HdfsFileModel model = new HdfsFileModel();
String ret = this.getHdfsService().readFile(path); String ret = this.getHdfsService().readFile(path);