Changeset 1479 for DCWoRMS/branches


Ignore:
Timestamp:
12/23/14 14:30:20 (10 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/simulator/workload/fileFilters/QcgJobFileNameFilter.java

    r477 r1479  
    1212public class QcgJobFileNameFilter implements FilenameFilter{ 
    1313 
    14         public static final String FILE_NAME_PREFIX = "QcgJob"; 
     14        public static final String QCG_FILE_NAME_PREFIX = "QcgJob"; 
     15        public static final String FILE_NAME_PREFIX = "Job"; 
    1516         
    1617        public QcgJobFileNameFilter(){}; 
    1718         
    1819        public boolean accept(File dir, String name) { 
    19                         if(name.startsWith(FILE_NAME_PREFIX) && name.endsWith("xml")) 
     20                        if((name.startsWith(FILE_NAME_PREFIX) || name.startsWith(QCG_FILE_NAME_PREFIX)) && name.endsWith("xml")) 
    2021                                return true; 
    2122                        else 
Note: See TracChangeset for help on using the changeset viewer.