net.sourceforge.openutils.mgnlmedia.media.zip
Interface ZipImporter
- All Known Implementing Classes:
- DefaultZipImporter
public interface ZipImporter
Interface for zip importers. Using this, is possible to extract metadata from the zip file while importing the
images. Common cases are: - Title, description or other metadata are included in the media file name or folder. -
Metadata for all medias are included in a file (xml, txt) in the zip. - Metadata for the media is stored within the
zip file metadata. Implementing this interface you can cover any of the aforementioned cases.
- Author:
- Danilo Ghirardelli
|
Method Summary |
void |
importFromZip(ZipFile zip,
String parentPath)
Stores in the media repository the images found in the zip file. |
importFromZip
void importFromZip(ZipFile zip,
String parentPath)
throws ZipImporterException
- Stores in the media repository the images found in the zip file. Implementing this method you have control over
the (eventual) metadata handling.
- Parameters:
zipFile - The file from requestparentPath - Repo folder selected for storing the images. May be null.
- Throws:
ZipImporterException
Copyright © 2008-2011 Openmind. All Rights Reserved.