Code example for ObjectOutputStream

Methods: writeBooleanwriteIntwriteUTF

0
/*     */   } 
/*     */  
/*     */   private void writeObject(ObjectOutputStream paramObjectOutputStream)
/*     */     throws IOException 
/*     */   { 
/* 393 */     paramObjectOutputStream.writeUTF(this.name);
/* 394 */     paramObjectOutputStream.writeUTF(this.schema);
/* 395 */     paramObjectOutputStream.writeUTF(this.simple);
/* 396 */     paramObjectOutputStream.writeInt(this.version);
/* 397 */     paramObjectOutputStream.writeBoolean(this.synonym);
/*     */   } 
/*     */  
/*     */   private void readObject(ObjectInputStream paramObjectInputStream)
/*     */     throws IOException, ClassNotFoundException 
/*     */   { 
/* 409 */     this.name = paramObjectInputStream.readUTF();
/* 410 */     this.schema = paramObjectInputStream.readUTF();
/* 411 */     this.simple = paramObjectInputStream.readUTF();
/* 412 */     this.version = paramObjectInputStream.readInt();
/* 413 */     this.synonym = paramObjectInputStream.readBoolean();
Experience pair programming with AI  Get Codota for Java