Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 814 Bytes

File metadata and controls

15 lines (11 loc) · 814 Bytes

huffman-encoding

an encoder/decoder utility written in java

To Encode
It takes the name of the program and the text file to encode as command line arguments and encodes it using the huffman technique, returning a text file of the same name with the extension '.cmp'

To Decode
It takes the name of the program and the name of the text file with the extension '.cmp' as command line arguments, and it returns the exact same file that was initially encoded with the extension '.dcp'
The text files included:
Including the '.dcp' files have been included as examples of text files to test. It is best to use this utility by first configuring the command line arguments directly from eclipse.