|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.ndiipp.hubandspoke.packager.ToHubPackager
edu.uiuc.ndiipp.hubandspoke.packager.DirectoryPackager
public class DirectoryPackager
Walks a supplied directory and creates an EchoDep Hub compliant METS file from the contents.
| Constructor Summary | |
|---|---|
DirectoryPackager()
|
|
| Method Summary | |
|---|---|
HaSMETSProfile |
createHubPackage(java.io.File itemdir,
java.io.File metadata)
Overload to allow internal generation of an identifier |
HaSMETSProfile |
createHubPackage(java.io.File itemdir,
java.io.File metadata,
java.lang.String id,
METSProfile.PREMISIdentifierType idtype)
Creates the Hub package from scratch |
boolean |
createHubPackage(java.util.zip.ZipFile zip,
java.lang.String unzippath,
java.lang.String hubpath)
|
static void |
main(java.lang.String[] args)
Command line interface... |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryPackager()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public HaSMETSProfile createHubPackage(java.io.File itemdir,
java.io.File metadata,
java.lang.String id,
METSProfile.PREMISIdentifierType idtype)
throws PackagerException
itemdir - -- File representing the path to the itemsmetadata - -- File representing the path to the MODS metadata for the itemid - -- Identifier of the item. If not supplied, a UUID will be created for the item.idtype - -- Indicator of which identifier scheme is used.
PackagerException
public HaSMETSProfile createHubPackage(java.io.File itemdir,
java.io.File metadata)
throws PackagerException
itemdir - -- File representing the path to the itemsmetadata - -- File representing the path to the MODS metadata for the item
PackagerException
public boolean createHubPackage(java.util.zip.ZipFile zip,
java.lang.String unzippath,
java.lang.String hubpath)
throws PackagerException,
HaSMETSProfileException
createHubPackage in class ToHubPackagerPackagerException
HaSMETSProfileException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||