Package com.substanceofcode.utils

Examples of com.substanceofcode.utils.CompatibilityBase64


            dateString = "";
        } else {
            dateString = String.valueOf( m_date.getTime() );
        }
        String preData = m_title + "|" + m_link + "|" + dateString + "|" + m_desc;
        CompatibilityBase64 b64 = new CompatibilityBase64();
        String encodedSerializedData = b64.encode( preData.getBytes() );
        return encodedSerializedData;
    }
View Full Code Here


        String link = "";
        String desc = "";
        Date date = null;

        // CompatibilityBase64 decode
        CompatibilityBase64 b64 = new CompatibilityBase64();
        byte[] decodedData = b64.decode(data);
        data = new String( decodedData );
       
        String[] nodes = StringUtil.split( data, "|");
       
        /* Node count should be 4:
View Full Code Here

TOP

Related Classes of com.substanceofcode.utils.CompatibilityBase64

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.