Package com.sun.enterprise.config.backup.util

Examples of com.sun.enterprise.config.backup.util.FileListerRelative.keepEmptyDirectories()


  {
    String zipName      = FileUtils.safeGetCanonicalPath(request.backupFile);
    String domainDirName  = FileUtils.safeGetCanonicalPath(request.domainDir);
   
    FileListerRelative lister = new FileListerRelative(request.domainDir);
    lister.keepEmptyDirectories()// we want to restore any empty directories too!
    String[] files = lister.getFiles();
   
    LoggerHelper.fine("Writing " + zipName);
   
    try
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.