eu.planets_project.services.java_se.image
Class JavaImageIOMigrate

java.lang.Object
  extended by eu.planets_project.services.java_se.image.JavaImageIOMigrate
All Implemented Interfaces:
Migrate, PlanetsService

@MTOM
@StreamingAttachment(parseEagerly=true,
                     memoryThreshold=10485760L)
public class JavaImageIOMigrate
extends Object
implements Migrate

Convert Microsoft DOC to ODF, using Open Office.


Field Summary
static String NAME
          Service name
 
Fields inherited from interface eu.planets_project.services.migrate.Migrate
QNAME
 
Constructor Summary
JavaImageIOMigrate()
           
 
Method Summary
 ServiceDescription describe()
          A method that can be used to recover a rich service description, and thus populate a service registry.
 MigrateResult migrate(DigitalObject dob, URI inputFormat, URI outputFormat, List<Parameter> parameters)
          Migrate one digital object from inputFormat to outputFormat.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Service name

See Also:
Constant Field Values
Constructor Detail

JavaImageIOMigrate

public JavaImageIOMigrate()
Method Detail

describe

public ServiceDescription describe()
Description copied from interface: PlanetsService
A method that can be used to recover a rich service description, and thus populate a service registry.

Specified by:
describe in interface PlanetsService
Returns:
A ServiceDescription object that describes this service, to aid service discovery.
See Also:
PlanetsService.describe()

migrate

public MigrateResult migrate(DigitalObject dob,
                             URI inputFormat,
                             URI outputFormat,
                             List<Parameter> parameters)
Description copied from interface: Migrate
Migrate one digital object from inputFormat to outputFormat. Note: The migration should ignore the formatURI specified in the digital object.

Specified by:
migrate in interface Migrate
Parameters:
dob - The digital object to migrate
inputFormat - the initial format (migrate from)
outputFormat - the required format (migrate to)
parameters - a list of parameters to provide fine grained tool control
Returns:
A new digital object, the result of migrating the given digital object
See Also:
eu.planets_project.services.migrate.Migrate#migrate(eu.planets_project.services.datatypes.DigitalObject, java.net.URI, java.net.URI, eu.planets_project.services.datatypes.Parameter)


Copyright © 2013 Open Planets Foundation. All Rights Reserved.