au.edu.archer.service.ddm.impl
Class FedoraPublishServiceImpl

java.lang.Object
  extended by au.edu.archer.service.ddm.impl.FedoraPublishServiceImpl
All Implemented Interfaces:
FedoraPublishService

public class FedoraPublishServiceImpl
extends java.lang.Object
implements FedoraPublishService

Datadepositor by Steve Androulakis - Creates an object and uploads datastreams into a Fedora repository

Use method DepositData(String fedoraURL, String fedoraUsername, String fedoraPassword, String METSpath, String uploadPath)

Version:
1.0
Author:
Steve Androulakis (Monash University)

Constructor Summary
FedoraPublishServiceImpl(java.lang.String fedoraURL, java.lang.String fedoraUsername, java.lang.String fedoraPassword, byte[] metsXML)
           
 
Method Summary
 java.lang.String depositFile(java.lang.String filename, byte[] fileContent)
           
 java.lang.String getObjID()
           
 void setObjID(java.lang.String objID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FedoraPublishServiceImpl

public FedoraPublishServiceImpl(java.lang.String fedoraURL,
                                java.lang.String fedoraUsername,
                                java.lang.String fedoraPassword,
                                byte[] metsXML)
Method Detail

getObjID

public java.lang.String getObjID()

setObjID

public void setObjID(java.lang.String objID)

depositFile

public java.lang.String depositFile(java.lang.String filename,
                                    byte[] fileContent)
                             throws java.io.IOException
Specified by:
depositFile in interface FedoraPublishService
Throws:
java.io.IOException


Copyright © 2008-09 Monash University. All Rights Reserved.