private void processHyperlinkData ( Task task , byte [ ] data ) { if ( data != null ) { int offset = 12 ; String hyperlink ; String address ; String subaddress ; offset += 12 ; hyperlink = MPPUtility . getUnicodeString ( data , offset ) ; offset += ( ( hyperlink . length ( ) + 1 ) * 2 ) ; offset += 12 ; address = MPPUtility . getUnicodeString ( data , offset ) ; offset += ( ( address . length ( ) + 1 ) * 2 ) ; offset += 12 ; subaddress = MPPUtility . getUnicodeString ( data , offset ) ; task . setHyperlink ( hyperlink ) ; task . setHyperlinkAddress ( address ) ; task . setHyperlinkSubAddress ( subaddress ) ; } }
This method is used to extract the task hyperlink attributes from a block of data and call the appropriate modifier methods to configure the specified task object .