magoffin.matt.ma2.util
Class MediaAlbumExportTool
java.lang.Object
magoffin.matt.ma2.util.MediaAlbumExportTool
public class MediaAlbumExportTool
- extends java.lang.Object
Tool to export albums from a Media Album database into a file/folder
structure for importing into Matte.
Known limitations: non-ASCII characters in file paths are not
handled well in some situations. In this case the files might not be
copied, and the metadata.xml
for the album will
be created but may have incorrect archive paths set.
- Version:
- $Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
- Author:
- Matt Magoffin (spamsqr@msqr.us)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaAlbumExportTool
public MediaAlbumExportTool()
run
public void run()
- Run the tool.
main
public static void main(java.lang.String[] args)
- Run tool from command line.
- Parameters:
args
- pass the path to the tool's Spring configuration file
setCollectionDir
public void setCollectionDir(java.io.File collectionDir)
- Parameters:
collectionDir
- the collectionDir to set
setMediaAlbumJdbcTemplate
public void setMediaAlbumJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate mediaAlbumJdbcTemplate)
- Parameters:
mediaAlbumJdbcTemplate
- the mediaAlbumJdbcTemplate to set
setOutputDir
public void setOutputDir(java.io.File outputDir)
- Parameters:
outputDir
- the outputDir to set
setOwnerId
public void setOwnerId(java.lang.Integer ownerId)
- Parameters:
ownerId
- the ownerId to set
setXmlHelper
public void setXmlHelper(XmlHelper xmlHelper)
- Parameters:
xmlHelper
- the xmlHelper to set