ch.interlis.ilirepository
Class IliFiles

java.lang.Object
  extended by ch.interlis.ilirepository.IliFiles

public class IliFiles
extends java.lang.Object

represtens an ilimodels.xml file.


Constructor Summary
IliFiles()
           
 
Method Summary
 void addFile(ch.interlis.ili2c.modelscan.IliFile file)
          add a file to the list of files.
 ch.interlis.ili2c.modelscan.IliFile getFileWithModel(java.lang.String modelName, double iliVersion)
          gets the file that contains the given model.
 java.util.Iterator iteratorFile()
          access to list of IliFile.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IliFiles

public IliFiles()
Method Detail

iteratorFile

public java.util.Iterator iteratorFile()
access to list of IliFile.


addFile

public void addFile(ch.interlis.ili2c.modelscan.IliFile file)
add a file to the list of files.


getFileWithModel

public ch.interlis.ili2c.modelscan.IliFile getFileWithModel(java.lang.String modelName,
                                                            double iliVersion)
gets the file that contains the given model.

Parameters:
modelName - name of model
iliVersion - iliVersion (e.g. 1.0) of searched model
Returns:
file with searched model or null if no such model in this list of files.