GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fDero/JCompressor: Simple file compressor/decompressor written in Java-21 implementing the Huffman algorithm (somewhat similarly to .zip files)

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

JCompressor

Simple file compressor and decompressor written in Java-21.
This project makes use of my own library bits4j.

Building from source

To build the project locally, Apache Maven and Java-21 neeed to be installed on the host machine. To build the project, run the following command:

mvn package

Performing Huffman compression

Assuming the build was successful, running the following command you will be able to compress the <INPUT-FILE>, generating an <OUTPUT-COMPRESSED-FILE> using the Huffman algorithm

java -jar ./target/JCompressor-0.0.1-SNAPSHOT.jar --input <INPUT-FILE> --task HUFFMAN_COMPRESSION --output <OUTPUT-COMPRESSED-FILE>

Performing Huffman decompression

Assuming the build was successful, running the following command you will be able to decompress an <INPUT-COMPRESSED-FILE>, generating an <OUTPUT-FILE> using the Huffman algorithm

java -jar ./target/JCompressor-0.0.1-SNAPSHOT.jar --input <INPUT-COMPRESSED-FILE> --task HUFFMAN_DECOMPRESSION --output <OUTPUT-FILE>

About

Simple file compressor/decompressor written in Java-21 implementing the Huffman algorithm (somewhat similarly to .zip files)

Topics

compressiondecompressionfilesystemhuffman-codingjavajava-21maven

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.