/** * Emit this constant integer info object into the given data output stream. * * @param theDataOutput Data output stream. * @exception IOException Thrown if an I/O error occurred. */ void emit(DataOutput theDataOutput) throws IOException { super.emit(theDataOutput); theDataOutput.writeInt(myValue); }
/** * Emit this constant UTF-8 info object into the given data output stream. * * @param theDataOutput Data output stream. * @exception IOException Thrown if an I/O error occurred. */ void emit(DataOutput theDataOutput) throws IOException { super.emit(theDataOutput); theDataOutput.writeUTF(myString); }