Package com.hdfsTools.dao

Examples of com.hdfsTools.dao.checkDao.doList()


   * @throws IOException
   */
  public List<FileStatus> doList(String directory) throws IOException {

    checkDao check = new checkImpl();
    List<FileStatus> list = check.doList(directory, getConf());
    for (FileStatus file : list) {

      System.out.println("id:" + file.getPath().hashCode() + "----path:"
          + file.getPath() + "-----name:" + file.getPath().getName());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.