Add Folder (MediaCollection)


public void addFolder(String path, MediaCollection mCollection) throws Exception


Adds a folder of images to the MediaCollection you specify. Use this method if you want to add a folder of images to a MediaCollection other than the current MediaCollection. Before adding the images from the folder to the MediaCollection, this method converts them to MediaObjects (EDF files).


path - the full path of the folder to be added (for example, c:\images\sunsets)


mCollection - the MediaCollection to which you want to add the folder of images


nothing (void)


addFolder() throws an Exception if the addition fails, if path does not exist or is not a folder, or if the mCollection does not exist or is not a MediaCollection.