public class ManagedContentTranslator extends Object
| Constructor and Description |
|---|
ManagedContentTranslator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createManagedClone(FedoraAPIMMTOM apim,
String pidToClone,
String newPid)
Create a managed content DO from an existing DO, ingesting the new object.
|
static void |
main(String[] args) |
protected static byte[] |
translate(InputStream input,
String newPID) |
public static void main(String[] args)
public static void createManagedClone(FedoraAPIMMTOM apim, String pidToClone, String newPid) throws Exception
apim - pidToClone - - PID of original objectnewPid - - PID for new managed content objectExceptionprotected static byte[] translate(InputStream input, String newPID) throws Exception
ExceptionCopyright © 2015 DuraSpace. All Rights Reserved.