Package net.sf.jasperreports.engine.util
Class VirtualizationSerializer
- java.lang.Object
-
- net.sf.jasperreports.engine.util.VirtualizationSerializer
-
- Direct Known Subclasses:
LocalVirtualizationSerializer
public abstract class VirtualizationSerializer extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description VirtualizationSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract VirtualizationInput
createInput(JRVirtualizationContext context, InputStream in)
protected abstract VirtualizationOutput
createOutput(JRVirtualizationContext context, OutputStream out)
Object
readData(JRVirtualizationContext context, InputStream in)
void
readData(JRVirtualizable o, InputStream in)
void
writeData(Object virtualData, JRVirtualizationContext context, OutputStream out)
void
writeData(JRVirtualizable o, OutputStream out)
-
-
-
Method Detail
-
writeData
public final void writeData(JRVirtualizable o, OutputStream out) throws IOException
- Throws:
IOException
-
writeData
public final void writeData(Object virtualData, JRVirtualizationContext context, OutputStream out) throws IOException
- Throws:
IOException
-
createOutput
protected abstract VirtualizationOutput createOutput(JRVirtualizationContext context, OutputStream out) throws IOException
- Throws:
IOException
-
readData
public final void readData(JRVirtualizable o, InputStream in) throws IOException
- Throws:
IOException
-
readData
public final Object readData(JRVirtualizationContext context, InputStream in) throws IOException
- Throws:
IOException
-
createInput
protected abstract VirtualizationInput createInput(JRVirtualizationContext context, InputStream in) throws IOException
- Throws:
IOException
-
-