lzwtut.java
来自「LZW compression example with java」· Java 代码 · 共 15 行
JAVA
15 行
//Example Program that uses the LZW code to deomonstrate its cabilities//
//Very Somple and easy to understand
public class LzwTut {
//Lots of difficult to understand code here......
//Just kidding.
//We Use the Lzw Class which does all the work.
public static void main(String[] args) {
// Create application frame.
Lzw lzNew = new Lzw(12);
lzNew.compressFile("ogif.c","ngif.c");
lzNew.decompressFile("ngif.c","ugif.c");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?