Package com.jeecms.common.util

Examples of com.jeecms.common.util.DateUtils


    String backpath = realPathResolver.get(Constants.BACKUP_PATH);
    File backDirectory = new File(backpath);
    if (!backDirectory.exists()) {
      backDirectory.mkdir();
    }
    DateUtils dateUtils = DateUtils.getDateInstance();
    String backFilePath = backpath + SLASH+ dateUtils.getNowString() + "."
        + SUFFIX;
    File file=new File(backFilePath);
    Thread thread =new DateBackupTableThread(file,tableNames);
    thread.start();
    return "data/backupProgress";
View Full Code Here

TOP

Related Classes of com.jeecms.common.util.DateUtils

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.