/* 143 */ this.dataOutput = new DataOutputStream(output);
/* */ }
/* */ }
/* */
/* */ public void writeObjectUsingDataContainer(Object obj) throws IOException {
/* 148 */ DataContainer dataContainer = new DataContainer(null, getSubstitutionInterface(), this.checkSerializableClass, this.buffer);
/* 149 */ if ((this.output instanceof DataOutputStream))
/* */ {
/* 151 */ this.dataOutput = ((DataOutputStream)this.output);
/* */ }
/* */ else
/* */ {
/* 155 */ this.dataOutput = new DataOutputStream(this.output);
/* */ }
/* */
/* 158 */ ObjectOutput objectOutput = dataContainer.getOutput();
/* 159 */ objectOutput.writeObject(obj);
/* */
/* 162 */ dataContainer.saveData(this.dataOutput);
/* */ }