Skip to content

Commit c098947

Browse files
committed
test message
1 parent 18f931a commit c098947

File tree

3 files changed

+6
-26
lines changed

3 files changed

+6
-26
lines changed

README.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,6 @@ Compression ratio: 35.7% reduction
6969
- Works best with files that have **repetitive patterns**
7070
- Typical use cases: Log files, structured data (JSON, XML), source code with repeated patterns
7171

72-
### Comparison
73-
74-
| Feature | Huffman Coding | LZW |
75-
|---------|---------------|-----|
76-
| **Method** | Frequency-based | Dictionary-based |
77-
| **Dictionary stored?** | Yes (frequency table) | No (built on-the-fly) |
78-
| **Best for** | Uneven character distribution | Repetitive patterns |
79-
| **Space overhead** | Medium (frequency table) | Low (no dictionary) |
80-
| **Example use case** | Text with skewed character frequency | Log files, structured data |
81-
8272
## Installation
8373

8474
### Prerequisites
@@ -93,12 +83,6 @@ On macOS:
9383
brew install maven
9484
```
9585

96-
On Linux:
97-
```bash
98-
sudo apt-get install maven # For Debian/Ubuntu
99-
sudo dnf install maven # For Fedora
100-
```
101-
10286
Verify installation:
10387
```bash
10488
mvn -version
@@ -110,7 +94,7 @@ mvn -version
11094
### Directly Run the jar file
11195
I have included the already build jar file. You can run it simply if you dont want to build
11296
```bash
113-
java -jar FileCompression.jar
97+
java -jar file-compression-2.0-SNAPSHOT.jar
11498
```
11599

116100

@@ -127,15 +111,7 @@ After building with Maven, you can run the JAR:
127111
java -jar target/file-compression-2.0-SNAPSHOT-jar-with-dependencies.jar
128112
```
129113

130-
![Outlook](/git_resource/outlook.png?raw=true "File Compression GUI")
131-
132-
## Zip a file
133-
file>open>click zip>the zipped file will be created on the same folder
134-
135-
136-
## Unzip a file
137-
file>open>click unzip>the unzipped file will be created on the same folder
138-
114+
![Outlook](/git_resource/readmeScreenshot.png?raw=true "File Compression GUI")
139115

140116
## Testing environment:
141117

git_resource/readmeScreenshot.png

391 KB
Loading

logs/file-compression.log

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8973,3 +8973,7 @@
89738973
2025-10-12 18:31:27.407 [main] INFO prog.lzw.LzwCompressor - Compressing file: /var/folders/xz/mbrngx552p597gsppm4sv25c0000gn/T/junit9986743859443652817/test.txt -> /var/folders/xz/mbrngx552p597gsppm4sv25c0000gn/T/junit9986743859443652817/test.txt.LmZWp
89748974
2025-10-12 18:31:27.407 [main] DEBUG prog.lzw.LzwCompressor - Writing bit size: 9
89758975
2025-10-12 18:31:27.407 [main] INFO prog.lzw.LzwCompressor - Compression completed successfully
8976+
2025-10-12 18:50:04.341 [prog.Main.main()] INFO prog.Main - Starting File Compressor application
8977+
2025-10-12 18:50:04.342 [prog.Main.main()] DEBUG prog.Main - Java version: 24.0.2
8978+
2025-10-12 18:50:04.342 [prog.Main.main()] DEBUG prog.Main - OS: Mac OS X 26.0.1
8979+
2025-10-12 18:50:04.715 [prog.Main.main()] INFO prog.Main - Application UI initialized successfully

0 commit comments

Comments
 (0)