public class TraceRegionSerializer extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TraceRegionSerializer.Callback<Region,Location> |
protected static class |
TraceRegionSerializer.CompressedIntDataInput |
protected static class |
TraceRegionSerializer.IdentityStrategy |
static interface |
TraceRegionSerializer.Strategy<Region,Location> |
| Constructor and Description |
|---|
TraceRegionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
<Location,Region> |
doReadFrom(DataInput dataStream,
TraceRegionSerializer.Strategy<Region,Location> reader,
Region parent,
int version) |
<Region,Location> |
doReadFrom(InputStream contents,
TraceRegionSerializer.Strategy<Region,Location> reader) |
<Region,Location> |
doWriteTo(TraceRegionSerializer.Strategy<Region,Location> strategy,
Region region,
OutputStream stream) |
AbstractTraceRegion |
readTraceRegionFrom(InputStream contents) |
void |
writeTraceRegionTo(AbstractTraceRegion region,
OutputStream stream) |
public void writeTraceRegionTo(AbstractTraceRegion region, OutputStream stream) throws IOException
IOExceptionpublic <Region,Location> void doWriteTo(TraceRegionSerializer.Strategy<Region,Location> strategy, Region region, OutputStream stream) throws IOException
IOExceptionpublic AbstractTraceRegion readTraceRegionFrom(InputStream contents) throws IOException
IOExceptionpublic <Region,Location> Region doReadFrom(InputStream contents, TraceRegionSerializer.Strategy<Region,Location> reader) throws IOException
IOExceptionpublic <Location,Region> Region doReadFrom(DataInput dataStream, TraceRegionSerializer.Strategy<Region,Location> reader, Region parent, int version) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.