Hi all, I have getting data after every 2 seconds from server through socket connection. Data is in string format and it is huge data (near about 50kb). I want to parse this data. What is a proper way to parse this large data continously. Thanks in advance.
Life is easy because we write the source code.....
What design did you try ? How do you want to process the 'data', by 'data' what do you mean ? does it come in a binary file ? does it just come as a "String" type ? Did you try StringBuffer, did you get any performance issues ?
Time is what we want the most, but what we use the worst. -- William Penn
Leave the String array and String creations on java, but only if you are certain that the sockets will return you the string everytime and there will be no validations required. Another thing is using the enhanced for loop to handle tokens.