gr.uoa.di.madgik.grs.record.field.mediation
Class MediationFactory
java.lang.Object
gr.uoa.di.madgik.grs.record.field.mediation.MediationFactory
public class MediationFactory
- extends Object
Utility class constructing a MediatingInputStream that accesses the payload of the provided Field
- Author:
- gpapanikos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediationFactory
public MediationFactory()
getStream
public static MediatingInputStream getStream(Field field)
throws IOException,
GRS2RecordMediationException
- Creates a
MediatingInputStream over the payload of the provided Field
- Parameters:
field - the field whose payload needs to be accessed
- Returns:
- the constructed stream
- Throws:
IOException - THe payload's input stream could not be created
GRS2RecordMediationException - the mediation over the field's payload could not be initialized
Copyright © 2012. All Rights Reserved.