Using Java .Zip

HOw do i write a java Zip program, can i change the properties to install my own algorithm?
LVL 5
mredfelixAsked:
Who is Participating?
 
m_onkey_boyConnect With a Mentor Commented:
If you want to use the existing zip algorithm, use java.util.zip.ZipFileInputStream or java.util.zip.ZipInputStream, and if you want to implement your own algorithm, subclass java.io.FileInputStream or java.io.InputStream to handle your compression algorithm.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.