projects/account_manager/src/main/java/io/v/android/apps/account_manager/BlessingEvent.java
/**
     * Encodes this blessing event.
     *
     * @return                encoded blessing event
     * @throws Exception      if there was an encoding error
     */
Encodes this blessing event.
@return                encoded blessing event
@throws Exception      if there was an encoding error
Encodes this blessing event . @return encoded blessing event @throws Exception if there was an encoding error
public String encodeToString() throws Exception {
        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
        ObjectOutputStream objOut = new ObjectOutputStream(byteOut);
        objOut.writeObject(this);
        objOut.close();
        byte[] byteArray = byteOut.toByteArray();
        String stringEncoding = VomUtil.bytesToHexString(byteArray);
        return stringEncoding;
    }
public String encodeToString ( ) throws Exception { ByteArrayOutputStream byteOut = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = new ObjectOutputStream ( byteOut ) ; objOut . writeObject ( this ) ; objOut . close ( ) ; byte [ ] byteArray = byteOut . toByteArray ( ) ; String stringEncoding = VomUtil . bytesToHexString ( byteArray ) ; return stringEncoding ; }
Encodes this blessing event.
Encodes this blessing event .