Package com.sun.enterprise.diagnostics.util

Examples of com.sun.enterprise.diagnostics.util.LogNameFilter


    File logFile = new File(logFileName);
    File logDir = new File(logFile.getParent());
    String fileNamePrefix = logFile.getName();
    logFiles = FileUtils.getFileListing
        (logDir, false,                                                                                            
        new LogNameFilter
        (fileNamePrefix, startDate, endDate),
        new LogNameComparator());
            if(logFiles != null && logFiles.size() == 0)
                logFiles = Arrays.asList(new File[] {new File(logFileName)});
        } else
View Full Code Here

TOP

Related Classes of com.sun.enterprise.diagnostics.util.LogNameFilter

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.