|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmt.modisco.omg.kdm.source.util.KDMSourceUtils
public class KDMSourceUtils
Utils for KDMSource Model exploitation
| Method Summary | |
|---|---|
static java.util.List<BinaryFile> |
getBinaryFilesFromInventoryModel(InventoryContainer container,
java.util.ArrayList<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
Return all the binary files from a InventoryModel |
static java.util.List<Directory> |
getDirectoriesFromInventoryModel(InventoryContainer container,
java.util.List<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
Return all the directories from a inventoryModel |
static Directory |
getDirectoryByPath(java.lang.String path,
InventoryContainer inventoryContainer)
Return the Directory corresponding to the given path |
static java.util.List<SourceFile> |
getSourceFileFromInventoryModel(InventoryContainer container,
java.util.List<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
Return all the source files contained in the inventoryModel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<BinaryFile> getBinaryFilesFromInventoryModel(InventoryContainer container,
java.util.ArrayList<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
inventoryModel - The inventoryModel from which to retrieve the binary filesfilteredDirectoryName - The names of directories excluded from the searchrecurseOnSubDirectories - Add the subDirectories to the search
public static java.util.List<SourceFile> getSourceFileFromInventoryModel(InventoryContainer container,
java.util.List<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
inventoryModel - The inventoryModel from which to retrieve the source filesfilteredDirectoryName - The names of directories excluded from the searchrecurseOnSubDirectories - Add the subDirectories to the search
public static java.util.List<Directory> getDirectoriesFromInventoryModel(InventoryContainer container,
java.util.List<java.lang.String> filteredDirectoryName,
boolean recurseOnSubDirectories)
inventoryContainer - The inventoryModel from which to retrieve the DirectoryfilteredDirectoryName - The names of directories excluded from the searchrecurseOnSubDirectories - Add the subDirectories to the search
public static Directory getDirectoryByPath(java.lang.String path,
InventoryContainer inventoryContainer)
path - The path to look for a DirectoryinventoryContainer - The Container to look for the Directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||