Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.io
Class InstanceIO

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.io.InstanceIO

public abstract class InstanceIO
extends Object

Instance I/O utilities

Since:
2.5
Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static String ACTION_LOAD_SOURCE_DATA
          ID of the action to load source data.
static String ACTION_SAVE_TRANSFORMED_DATA
          ID of the action to save transformed data.
 
Constructor Summary
InstanceIO()
           
 
Method Summary
static InstanceWriter createInstanceWriter(org.eclipse.core.runtime.content.IContentType contentType, String providerId)
          Creates an instance writer instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_LOAD_SOURCE_DATA

public static final String ACTION_LOAD_SOURCE_DATA
ID of the action to load source data. Reflects the ID defined in the extension.

See Also:
Constant Field Values

ACTION_SAVE_TRANSFORMED_DATA

public static final String ACTION_SAVE_TRANSFORMED_DATA
ID of the action to save transformed data. Reflects the ID defined in the extension.

See Also:
Constant Field Values
Constructor Detail

InstanceIO

public InstanceIO()
Method Detail

createInstanceWriter

public static InstanceWriter createInstanceWriter(org.eclipse.core.runtime.content.IContentType contentType,
                                                  String providerId)
Creates an instance writer instance

Parameters:
contentType - the content type the provider must match, may be null if providerId is set
providerId - the id of the provider to use, may be null if contentType is set
Returns:
the I/O provider preconfigured with the content type if it was given or null if no matching I/O provider is found

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d