Example usage for java.io ObjectOutputStream defaultWriteObject

List of usage examples for java.io ObjectOutputStream defaultWriteObject

Introduction

In this page you can find the example usage for java.io ObjectOutputStream defaultWriteObject.

Prototype

public void defaultWriteObject() throws IOException 

Source Link

Document

Write the non-static and non-transient fields of the current class to this stream.

Usage

From source file:MainClass.java

private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    stream.writeObject(b);
}

From source file:Employee.java

private void writeObject(ObjectOutputStream oos) throws IOException {
    oos.defaultWriteObject();
    System.out.println("Serializing Employee object\n");
}

From source file:com.thoughtworks.xstream.benchmark.cache.model.SerializableFive.java

private void writeObject(final ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();
}

From source file:de.iew.framework.utils.IewApplicationEvent.java

private void writeObject(ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();
    out.writeObject(source.toString());//www.  ja  v a  2  s.co  m
}

From source file:fr.mby.saml2.sp.impl.query.QueryAuthnRequest.java

private void writeObject(java.io.ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();
}

From source file:com.webbfontaine.valuewebb.irms.impl.assignment.snapshot.SnapshotManager.java

private void writeObject(ObjectOutputStream os) throws IOException {
    os.defaultWriteObject();
}

From source file:net.javacoding.jspider.core.task.work.SerializableSpiderHttpURLTask.java

private void writeObject(ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();
    out.writeObject(this.foundURL);
    out.writeObject(this.contextToString);
}

From source file:com.hp.autonomy.hod.sso.HodAuthenticationPrincipal.java

private void writeObject(final ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();

    out.writeInt(userMetadata.size());/*from  w ww .ja  v a2  s .  com*/

    for (final Map.Entry<String, Serializable> entry : userMetadata.entrySet()) {
        out.writeObject(entry.getKey());
        out.writeObject(entry.getValue());
    }
}

From source file:com.amazon.carbonado.repo.dirmi.StorableTypeTransport.java

private void writeObject(ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();
    try {/*from   w  ww  .ja va 2  s.  com*/
        mLayout.writeTo(out);
    } catch (RepositoryException e) {
        throw new IOException(e);
    }
}

From source file:pt.webdetails.cpk.elements.impl.KettleResult.java

private void writeObject(java.io.ObjectOutputStream out) throws IOException {
    out.defaultWriteObject();

    String resultXmlString = this.result.getXML();
    out.writeUTF(resultXmlString);/*from  ww w .  j  a  v  a  2 s . com*/
}