|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.mets.METSExport
public class METSExport
Tool for exporting DSpace AIPs with the metadata serialised in METS format
DSpaceMETSDisseminator,
DSpaceMETSIngester,
Packager| Constructor Summary | |
|---|---|
METSExport()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Deprecated. |
static void |
writeAIP(Context context,
Item item,
String dest)
Deprecated. Write out the AIP for the given item to the given directory. |
static void |
writeMETS(Context context,
Item item,
OutputStream os,
boolean fullURL)
Deprecated. Write METS metadata corresponding to the metadata for an item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public METSExport()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exception
public static void writeAIP(Context context,
Item item,
String dest)
throws SQLException,
IOException,
AuthorizeException,
edu.harvard.hul.ois.mets.helper.MetsException
context - DSpace context to useitem - Item to writedest - destination directory
SQLException
IOException
AuthorizeException
edu.harvard.hul.ois.mets.helper.MetsException
public static void writeMETS(Context context,
Item item,
OutputStream os,
boolean fullURL)
throws SQLException,
IOException,
AuthorizeException
context - DSpace contextitem - DSpace item to create METS object foros - A stream to write METS package to (UTF-8 encoding will be used)fullURL - if true, the <FLocat> values for each
bitstream will be the full URL for that bitstream. Otherwise,
only the filename itself will be used.
SQLException
IOException
AuthorizeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||