java - Most compressed way to store String Object -


i have string object want save file, , dont care if saved plain text or binary. have tried saving plain text , 27 bytes. tried objectoutputstream , 24 bytes. there better way of saving string objects file? string 189:25:600:-324324214& , intend have thousands of them. thats why want compressed, , of course each string bit different

wrap fileoutputstream inside deflatoroutputstream inside objectoutputstream create file. (write entire array single object.) wrap fileinputstream inside inflatorinputstream inside objectinputstream read.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -