public class LicenseCleanup
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static javax.xml.transform.Templates |
templates |
| Constructor and Description |
|---|
LicenseCleanup() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
copy(Bitstream b)
Fast stream copy routine
|
protected static void |
handleItem(Item item)
Process Item, correcting CC-License if encountered.
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
throws java.sql.SQLException,
AuthorizeException,
java.io.IOException
args - java.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionprotected static void handleItem(Item item) throws java.sql.SQLException, AuthorizeException, java.io.IOException
item - java.sql.SQLExceptionAuthorizeExceptionjava.io.IOExceptionpublic static byte[] copy(Bitstream b) throws java.io.IOException, java.sql.SQLException, AuthorizeException
b - the Bitstream to be copied.b.java.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionCopyright © 2018 DuraSpace. All Rights Reserved.