⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compression.java

📁 为公司做的质量考核接口源码,用spring,hibernate,XML实现,对XML接口编程很有帮助
💻 JAVA
字号:
package com.jr81.source.compression;

/*
 * Compression.java
 *
 * Created on 01 Dec 2005
 *
 * Interface for any compression algorithm
 */

import java.io.* ;

/**
 *
 * @author  Moshe Fresko
 * @course	Algorithmic Programming 1
 * @exercise	2
 */

interface Compression
{
		// Gets the input from the Input Stream
		// and writes the encoded code into Output Stream
	void compress(InputStream inp, OutputStream out) throws IOException ;
		// Gets the already encoded input stream
		// Decodes it and writes into output stream
	void decompress(InputStream inp, OutputStream out) throws IOException ;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -