Git Product home page Git Product logo

nzip-java's Introduction

nzip

This is a Java-based file compression utility that supports both GUI and command-line interfaces. It provides functionalities for compressing and decompressing files using different compression algorithms. It was made as a university project, so don't expect anything good, because it was made in a week and improved little by little later.

Features:

  • GUI Interface: Provides a user-friendly graphical interface for selecting files and compression options.
  • Command-Line Interface: Offers a command-line interface for users who prefer working with a terminal.
  • Multiple Compression Algorithms: Supports various compression algorithms such as DEFLATE, with the option to add more.
  • Progress Tracking: Displays progress during compression and decompression processes.
  • File Size Comparison: Allows users to compare the sizes of compressed and decompressed files.
  • File Content Equality Check: Enables users to check if the content of two files is identical.

Installation:

To use the GUI version of the utility, simply clone the repository and compile the Java files using a Java compiler. Then, run the Form class to launch the GUI.

For the command-line version, compile the Main class and run the generated executable JAR file with appropriate command-line arguments.

GUI Interface:

  1. Launch the application.
  2. Click "Select File" to choose the file you want to compress or decompress.
  3. Choose the desired compression algorithm from the dropdown list.
  4. Click "Compress" or "Decompress" to start the process.
  5. Monitor the progress in the progress bar and view the status in the status label.
  6. Once the process is complete, a message will indicate success or failure.

Command-Line Interface:

  1. comp: Compress a file.
  2. decomp: Decompress a file.
  3. size: Get the size of a file.
  4. equal: Check if two files are equal.

nzip-java's People

Contributors

k4l13cl1p53 avatar wobbychip avatar

Watchers

 avatar

Forkers

231rdb053

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.