Package eu.planets_project.pp.plato.services.crib_integration.tu_client

Examples of eu.planets_project.pp.plato.services.crib_integration.tu_client.FileObject


     * Migrates sample record <code>sampleObject</code>  with the migration action  defined in <code>action</code>.
     * 
     */
    public boolean perform(PreservationActionDefinition action, SampleObject sampleObject) throws PlatoServiceException {
        try {
            FileObject sampleFile = new FileObject(sampleObject.getData().getData(), sampleObject.getFullname());
            RepresentationObject representationObject = new RepresentationObject(new FileObject[]{sampleFile});
            LinkedList<String> urls = new LinkedList<String>();
            for (Parameter param : action.getParams()) {
                if (param.getName().startsWith("crib::location")) {
                    urls.add(param.getValue());
View Full Code Here

TOP

Related Classes of eu.planets_project.pp.plato.services.crib_integration.tu_client.FileObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.