Example usage for java.io ObjectInputStream defaultReadObject

List of usage examples for java.io ObjectInputStream defaultReadObject

Introduction

In this page you can find the example usage for java.io ObjectInputStream defaultReadObject.

Prototype

public void defaultReadObject() throws IOException, ClassNotFoundException 

Source Link

Document

Read the non-static and non-transient fields of the current class from this stream.

Usage

From source file:org.cyclop.model.CqlQueryResult.java

private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    in.defaultReadObject();
    SerializationUtil.setField(this, "rows", EmptyIterator.INSTANCE);
}

From source file:com.yahoo.glimmer.indexing.VerticalDocumentFactory.java

private void readObject(final ObjectInputStream s) throws IOException, ClassNotFoundException {
    s.defaultReadObject();
}

From source file:sk.stuba.fiit.kvasnicka.qsimdatamodel.data.utils.creationdelay.GaussNormalCreationDelay.java

private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, ClassNotFoundException {
    stream.defaultReadObject();

    distribution = new NormalDistributionImpl(mean, standardDistribution);
}

From source file:net.sf.jasperreports.renderers.JRCategoryChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (categoryChartHyperlinkProvider == null) {
        this.categoryChartHyperlinkProvider = new CategoryChartHyperlinkProvider(itemHyperlinks);
        itemHyperlinks = null;//  w  ww .ja  v a 2  s .  c  o m
    }
}

From source file:net.sf.jasperreports.renderers.JRHighLowChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (highLowChartHyperlinkProvider == null) {
        this.highLowChartHyperlinkProvider = new HighLowChartHyperlinkProvider(itemHyperlinks);
        itemHyperlinks = null;//from   www .j a  v a 2  s .c o m
    }
}

From source file:net.sf.jasperreports.renderers.JRPieChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (pieChartHyperlinkProvider == null) {
        this.pieChartHyperlinkProvider = new PieChartHyperlinkProvider(sectionHyperlinks);
        sectionHyperlinks = null;/*  w  ww  .  j  ava 2 s  .  c om*/
    }
}

From source file:net.sf.jasperreports.renderers.JRTimePeriodChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (timePeriodChartHyperlinkProvider == null) {
        this.timePeriodChartHyperlinkProvider = new TimePeriodChartHyperlinkProvider(itemHyperlinks);
        itemHyperlinks = null;/* w  w w.  jav  a2 s .  com*/
    }
}

From source file:net.sf.jasperreports.renderers.JRTimeSeriesChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (timeSeriesChartHyperlinkProvider == null) {
        this.timeSeriesChartHyperlinkProvider = new TimeSeriesChartHyperlinkProvider(itemHyperlinks);
        itemHyperlinks = null;//from w w  w . j ava 2  s .c  o m
    }
}

From source file:net.sf.jasperreports.renderers.JRXYChartImageMapRenderer.java

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (xyChartHyperlinkProvider == null) {
        this.xyChartHyperlinkProvider = new XYChartHyperlinkProvider(itemHyperlinks);
        itemHyperlinks = null;//from w ww.  j av  a2 s. c  o  m
    }
}

From source file:com.socialize.oauth.signpost.signature.OAuthMessageSigner.java

private void readObject(java.io.ObjectInputStream stream) throws IOException, ClassNotFoundException {
    stream.defaultReadObject();
    this.base64 = new Base64();
}