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

📄 index.html

📁 java实现的xml压缩算法
💻 HTML
字号:
<html>
<head>
	<title>XML GZip compression utility classes</title>
	<style>
		pre {
			margin: 0.5em;
			background-color: rgb(230,230,255);
			padding: 0.5em;
		}
	</style>
</head>
<body>
<h1>XML GZip compression utility classes</h1>
<p>
	This is a small set of Java utility classes that makes it easy to parse/produce gzip-compressed XML. The code is in the public domain.

<ul>
	<li><a href="gzipxml.20030830.zip">Download ver.20030830</a>
	<li><a href="javadoc/index.html">Browse javadoc</a>
</ul>

<h2>Usage</h2>
<p>
	<code>GZipStreamSource</code> and <code>GZipStreamResult</code> can be used where you can use <code>StreamSource</code> and <code>StreamResult</code>. Thus these classes can be used to enable gzip support for things like XSLT, JAXB, dom4j, and JDOM. For example, to use gzip compressed stream as an input to XSLT, you could write:
<pre>
Transformer t = ...;
t.transform( new GZipStreamSource(new File("input.xml")), new StreamResult(System.out) );
</pre>
<p>
	Another helper class in this package is <code>GZipOutputStream</code>, a <code>java.util.GZIPOutputStream</code> replacement that allows you to specify the compression level. This can be used for example to reduce the overhead of gzip compression at the server side.
</body>
</html>

⌨️ 快捷键说明

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