Package com.hdfsTools.action

Examples of com.hdfsTools.action.createAction


    hdfsfile.setUserId(userId);
    hdfsfile.setCreateTime(new Date());
    hdfsfile.setModifiedTime(new Date());

    boolean result = filedao.insertFile(hdfsfile);// 保存文件
    createAction caction = new createAction();
    caction.createDir(newfile);// 操作文件系统
    return result;

  }
View Full Code Here


    System.out.println(newfile);
    boolean result = filedao.insertFile(hdfsfile);// 保存文件,即在数据库中保存该文件的信息

    // 在hdfs文件系统创建相应的文件夹
    createAction caction = new createAction();
    caction.createDir(newfile);// 操作hdfs文件系统
    return result;
  }
View Full Code Here

TOP

Related Classes of com.hdfsTools.action.createAction

Copyright © 2018 www.massapicom. 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.