Class DFClassLister
- java.lang.Object
-
- repast.simphony.freezedry.datasource.DFClassLister
-
public class DFClassLister extends Object
Given a zip file containing a freezedried model, this returns the classes required by that model.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description DFClassLister(String zipFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<?>>
getClasses()
Gets the classes referenced in the zip file.protected String
getClassName(String name)
-
-
-
Constructor Detail
-
DFClassLister
public DFClassLister(String zipFileName)
-
-
Method Detail
-
getClasses
public List<Class<?>> getClasses() throws ClassNotFoundException, IOException
Gets the classes referenced in the zip file.- Returns:
- the classes referenced in the zip file.
- Throws:
IOException
- if there is an error reading the zip fileClassNotFoundException
- if a class referenced in the zip cannot be found
-
-