Examples of deleteDirector()


Examples of com.hdfsTools.action.deleteAction.deleteDirector()

    HdfsFile file = filedao.findFile(fileId);
    if (filedao.findFile(fileId) == null)
      System.out.println("kongduixiang");// 获得文件的url
    System.out.println("url is :" + file.getFileUrl());
    deleteAction delete = new deleteAction();
    boolean deletehdfs = delete.deleteDirector(file.getFileUrl());
    if (deletehdfs) {
      int delmem = filedao.deleteFilesmem(file.getFileUrl());
      deletedb = filedao.deleteFiles(file.getFileUrl());// 删除数据库中该文件和子文件的记
      // Users user = new Users();
      // System.out.println(hfile.getFileId());
View Full Code Here

Examples of com.hdfsTools.dao.deleteDao.deleteDirector()

   * @return
   */
  public boolean deleteDirector(String directorUrl) {
    deleteDao delete = new deleteImpl();
    try {
      return delete.deleteDirector(getConf(), directorUrl);
    } catch (IOException e) {
      System.out.println("throw the IOEception...");
      return false;
    }
  }
View Full Code Here

Examples of com.hdfsTools.impl.deleteImpl.deleteDirector()

   * @return
   */
  public boolean deleteDirector(String directorUrl) {
    deleteDao delete = new deleteImpl();
    try {
      return delete.deleteDirector(getConf(), directorUrl);
    } catch (IOException e) {
      System.out.println("throw the IOEception...");
      return false;
    }
  }
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.