org.gamenet.application.mm8leveleditor.lod
Class ImportManager
java.lang.Object
org.gamenet.application.mm8leveleditor.lod.ImportManager
- public class ImportManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progressDisplayer
private ProgressDisplayer progressDisplayer
importThread
private MonitoredTaskThread importThread
ImportManager
public ImportManager(ProgressDisplayer progressDisplayer)
importAndMonitorResources
public void importAndMonitorResources(LodFile oldLodFile,
File newLodFileToCreate,
List filesToImportList)
- Parameters:
oldLodFile
- original lod filenewLodFileToCreate
- new lod file based on old lod file + files to import.filesToImportList
- list of File objects to update or add to new lod file.
importAndMonitorResource
public void importAndMonitorResource(LodFile oldLodFile,
File newLodFileToCreate,
LodResource resourceToReplace)
- Parameters:
oldLodFile
- original lod filenewLodFileToCreate
- new lod file based on old lod file + files to import.
updateAndMonitorResource
public void updateAndMonitorResource(LodFile oldLodFile,
LodResource resourceToReplace)
updateResource
protected String updateResource(LodFile oldLodFile,
LodResource resourceToImport)
- Parameters:
oldLodFile
- original lod file
importResources
protected String importResources(LodFile oldLodFile,
File newLodFileToCreate,
List filesToImportList,
LodResource resourceToImport)
- Parameters:
oldLodFile
- original lod filenewLodFileToCreate
- new lod file based on old lod file + files to import.filesToImportList
- list of File objects to update or add to new lod file.