com.jalios.jcms.analytics
Class MigrationTools
java.lang.Object
com.jalios.jcms.analytics.MigrationTools
public class MigrationTools
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigrationTools
public MigrationTools()
main
public static void main(String[] args)
doJob
public void doJob(String statsDirectoryPath,
Date startDate,
Date endDate,
String eventDirectoryPath)
getStatStream
public static MonitoredInputStream getStatStream(String statsDirectoryPath,
long oldDate,
long nowDate)
- Return the MonitoredInputStream of stat files that exist between date1 and
date2.
- Parameters:
statsDirectoryPath
- the directory which contains stats fileoldDate
- the date from which the analyse startnowDate
- the date from which the analyse end
- Returns:
- List
getExistingStatFiles
public static Set getExistingStatFiles(String statsPath,
long oldDate,
long nowDate)
- Return the list of stat files that exist between date1 and date2.
- Parameters:
statsPath
- the directory which contains stats fileoldDate
- the date from which the analyse startnowDate
- the date from which the analyse end
- Returns:
- List
Copyright © 2001-2010 Jalios SA. All Rights Reserved.