[snappy-java] 02/06: Imported Upstream version 1.1.1.6
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Nov 26 08:58:24 GMT 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository snappy-java.
commit f68ed61a9b40fa1313f0eb9c4f7921966213cf09
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Nov 25 19:21:18 2014 +0100
Imported Upstream version 1.1.1.6
---
.classpath | 8 -
.gitignore | 25 +
.hgignore | 11 -
.hgsub | 1 -
.hgsubstate | 1 -
.hgtags | 14 -
.project | 23 -
.settings/org.eclipse.jdt.core.prefs | 6 -
.settings/org.eclipse.jdt.ui.prefs | 4 -
.settings/org.maven.ide.eclipse.prefs | 9 -
INSTALL | 0
Makefile | 264 ++--
Makefile.common | 165 ++-
Makefile.package | 169 ++-
Milestone.md | 127 ++
NOTICE | 3 +
README | 102 --
README.md | 169 +++
build.sbt | 107 ++
googlecode_upload.py | 248 ++++
pom.xml | 297 ----
pom.xml.releaseBackup | 297 ----
project/build.properties | 2 +
project/plugins.sbt | 12 +
release.properties | 15 -
sbt | 481 +++++++
src/main/java/org/xerial/snappy/OSInfo.java | 89 +-
.../java/org/xerial/snappy/PureJavaCrc32C.java | 617 ++++++++
src/main/java/org/xerial/snappy/Snappy.java | 125 +-
.../org/xerial/snappy/SnappyBundleActivator.java | 31 +-
src/main/java/org/xerial/snappy/SnappyCodec.java | 41 +-
src/main/java/org/xerial/snappy/SnappyError.java | 0
.../java/org/xerial/snappy/SnappyErrorCode.java | 6 +-
.../java/org/xerial/snappy/SnappyException.java | 0
src/main/java/org/xerial/snappy/SnappyFramed.java | 186 +++
.../org/xerial/snappy/SnappyFramedInputStream.java | 558 ++++++++
.../xerial/snappy/SnappyFramedOutputStream.java | 452 ++++++
.../java/org/xerial/snappy/SnappyIOException.java | 23 +
.../java/org/xerial/snappy/SnappyInputStream.java | 53 +-
src/main/java/org/xerial/snappy/SnappyLoader.java | 364 ++---
src/main/java/org/xerial/snappy/SnappyNative.cpp | 76 +-
src/main/java/org/xerial/snappy/SnappyNative.h | 234 ++--
src/main/java/org/xerial/snappy/SnappyNative.java | 14 +-
.../java/org/xerial/snappy/SnappyNativeAPI.java | 76 -
.../java/org/xerial/snappy/SnappyOutputStream.java | 653 ++++-----
src/main/java/org/xerial/snappy/VERSION | 2 +-
.../org/xerial/snappy/buffer/BufferAllocator.java | 11 +
.../snappy/buffer/BufferAllocatorFactory.java | 10 +
.../snappy/buffer/CachedBufferAllocator.java | 61 +
.../snappy/buffer/DefaultBufferAllocator.java | 26 +
src/main/java/org/xerial/snappy/package-info.java | 0
.../org/xerial/snappy/SnappyNativeLoader.bytecode | Bin 1179 -> 0 bytes
.../org/xerial/snappy/SnappyNativeLoader.java | 59 -
src/test/java/org/xerial/snappy/CalgaryTest.java | 112 +-
src/test/java/org/xerial/snappy/OSInfoTest.java | 0
.../java/org/xerial/snappy/RandomGenerator.java | 68 +
.../org/xerial/snappy/SnappyFramedStreamTest.java | 373 +++++
.../org/xerial/snappy/SnappyInputStreamTest.java | 49 +-
.../java/org/xerial/snappy/SnappyLoaderTest.java | 19 +-
.../org/xerial/snappy/SnappyOutputStreamTest.java | 399 +++---
src/test/java/org/xerial/snappy/SnappyTest.java | 0
src/test/java/org/xerial/snappy/load.code | 0
src/test/java/org/xerial/snappy/loadLibrary.code | 0
.../org/xerial/snappy/alice29.txt | 0
.../org/xerial/snappy/testdata/calgary/bib | 0
.../org/xerial/snappy/testdata/calgary/book1 | 0
.../org/xerial/snappy/testdata/calgary/book2 | 0
.../org/xerial/snappy/testdata/calgary/geo | Bin
.../org/xerial/snappy/testdata/calgary/news | 0
.../org/xerial/snappy/testdata/calgary/obj1 | Bin
.../org/xerial/snappy/testdata/calgary/obj2 | Bin
.../org/xerial/snappy/testdata/calgary/paper1 | 0
.../org/xerial/snappy/testdata/calgary/paper2 | 0
.../org/xerial/snappy/testdata/calgary/paper3 | 0
.../org/xerial/snappy/testdata/calgary/paper4 | 0
.../org/xerial/snappy/testdata/calgary/paper5 | 0
.../org/xerial/snappy/testdata/calgary/paper6 | 0
.../org/xerial/snappy/testdata/calgary/pic | Bin
.../org/xerial/snappy/testdata/calgary/progc | 0
.../org/xerial/snappy/testdata/calgary/progl | 0
.../org/xerial/snappy/testdata/calgary/progp | 0
.../org/xerial/snappy/testdata/calgary/trans | Bin
.../org/xerial/snappy/SnappyPerformanceTest.scala | 50 +
src/test/scala/org/xerial/snappy/SnappySpec.scala | 22 +
stylesheet.css | 0
version.sbt | 2 +
wiki/Milestone.wiki | 55 -
wiki/apidocs/allclasses-frame.html | 54 -
wiki/apidocs/allclasses-noframe.html | 54 -
wiki/apidocs/constant-values.html | 233 ----
wiki/apidocs/deprecated-list.html | 160 ---
wiki/apidocs/help-doc.html | 216 ---
wiki/apidocs/index-all.html | 697 ---------
wiki/apidocs/index.html | 37 -
wiki/apidocs/org/xerial/snappy/OSInfo.html | 354 -----
wiki/apidocs/org/xerial/snappy/Snappy.html | 1472 --------------------
.../org/xerial/snappy/SnappyBundleActivator.html | 293 ----
wiki/apidocs/org/xerial/snappy/SnappyCodec.html | 483 -------
wiki/apidocs/org/xerial/snappy/SnappyError.html | 344 -----
.../apidocs/org/xerial/snappy/SnappyErrorCode.html | 467 -------
.../apidocs/org/xerial/snappy/SnappyException.html | 402 ------
.../org/xerial/snappy/SnappyInputStream.html | 660 ---------
wiki/apidocs/org/xerial/snappy/SnappyLoader.html | 444 ------
wiki/apidocs/org/xerial/snappy/SnappyNative.html | 597 --------
.../apidocs/org/xerial/snappy/SnappyNativeAPI.html | 511 -------
.../org/xerial/snappy/SnappyOutputStream.html | 704 ----------
.../org/xerial/snappy/class-use/OSInfo.html | 143 --
.../org/xerial/snappy/class-use/Snappy.html | 143 --
.../snappy/class-use/SnappyBundleActivator.html | 143 --
.../org/xerial/snappy/class-use/SnappyCodec.html | 174 ---
.../org/xerial/snappy/class-use/SnappyError.html | 143 --
.../xerial/snappy/class-use/SnappyErrorCode.html | 263 ----
.../xerial/snappy/class-use/SnappyException.html | 166 ---
.../xerial/snappy/class-use/SnappyInputStream.html | 143 --
.../org/xerial/snappy/class-use/SnappyLoader.html | 143 --
.../org/xerial/snappy/class-use/SnappyNative.html | 143 --
.../xerial/snappy/class-use/SnappyNativeAPI.html | 167 ---
.../snappy/class-use/SnappyOutputStream.html | 143 --
wiki/apidocs/org/xerial/snappy/package-frame.html | 91 --
.../apidocs/org/xerial/snappy/package-summary.html | 284 ----
wiki/apidocs/org/xerial/snappy/package-tree.html | 179 ---
wiki/apidocs/org/xerial/snappy/package-use.html | 176 ---
wiki/apidocs/overview-tree.html | 181 ---
wiki/apidocs/package-list | 1 -
wiki/apidocs/resources/inherit.gif | Bin 57 -> 0 bytes
wiki/apidocs/serialized-form.html | 211 ---
wiki/apidocs/stylesheet.css | 36 -
127 files changed, 5326 insertions(+), 13405 deletions(-)
diff --git a/.classpath b/.classpath
deleted file mode 100644
index cec251a..0000000
--- a/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..fc37fa8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,25 @@
+*~
+*.class
+*.log
+
+# IntelliJ
+.idea
+.idea_modules
+*.iml
+
+.DS_Store
+
+# sbt specific
+bin/.lib
+dist/*
+target/
+lib_managed/
+src_managed/
+project/boot/
+project/plugins/project/
+
+# Scala-IDE specific
+.scala_dependencies
+atlassian-ide-plugin.xml
+
+
diff --git a/.hgignore b/.hgignore
deleted file mode 100644
index 32b3264..0000000
--- a/.hgignore
+++ /dev/null
@@ -1,11 +0,0 @@
-target
-.classpath
-.project
-Debug
-Release
-
-syntax: glob
-*~
-*.sdf
-*.ipch
-hs_err_pid*
diff --git a/.hgsub b/.hgsub
deleted file mode 100644
index e25fec5..0000000
--- a/.hgsub
+++ /dev/null
@@ -1 +0,0 @@
-wiki = https://code.google.com/p/snappy-java.wiki/
diff --git a/.hgsubstate b/.hgsubstate
deleted file mode 100644
index 925b363..0000000
--- a/.hgsubstate
+++ /dev/null
@@ -1 +0,0 @@
-718e33e002735cb64943b4dfdb4a31e6a4d8de09 wiki
diff --git a/.hgtags b/.hgtags
deleted file mode 100644
index 439e961..0000000
--- a/.hgtags
+++ /dev/null
@@ -1,14 +0,0 @@
-c5e0b0e9ceb2f1b6a63d8579d3c7698d6d17d819 snappy-java-1.0.1-rc1
-d7e20d321261fa498b24ad9ede41c9b9a4501fdb snappy-java-1.0.1-rc2
-0b565eb88cea571c7bb0e1a59c948921bb1a08a5 snappy-java-1.0.1-rc3
-
-eca4814fd3218dff38439150df86d75c16525a94 snappy-java-1.0.1-rc4
-54ad804506068c5df875e5d2a3fa29503e2a2256 snappy-java-1.0.3-rc1
-7b7999b2de6a4756bf806d73b5ce5f4d17f12614 snappy-java-1.0.3-rc2
-0cab58fcb9c6f5736783c8e01eff7555061a75b6 snappy-java-1.0.3-rc3
-25d8cadcff5ab995564a240431f7ab6933534722 snappy-java-1.0.3-rc4
-56d1e0b47fa0ff96cac837f70292ea2dd5825eb6 snappy-java-1.0.3
-8e70beaed80675da6b8b3a69b28ff6f7ddd3656e snappy-java-1.0.3.1
-0c78d91c0816bb1ad92591d894fe676e177fa154 snappy-java-1.0.3.2
-fb6687d9159f01371edc9e366f882665cb30a8fd snappy-java-1.0.3.3
-af15fe6c7211b28d5ed66216e3109902c0c768d4 snappy-java-1.0.4
diff --git a/.project b/.project
deleted file mode 100644
index 24e16af..0000000
--- a/.project
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>snappy-java</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.maven.ide.eclipse.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.maven.ide.eclipse.maven2Nature</nature>
- </natures>
-</projectDescription>
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 26e8589..0000000
--- a/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-#Tue Mar 29 16:49:37 JST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/.settings/org.eclipse.jdt.ui.prefs b/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index dad45ba..0000000
--- a/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Wed Mar 30 14:56:03 JST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return Returns the ${bare_field_name}.\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Co [...]
diff --git a/.settings/org.maven.ide.eclipse.prefs b/.settings/org.maven.ide.eclipse.prefs
deleted file mode 100644
index 01a37d2..0000000
--- a/.settings/org.maven.ide.eclipse.prefs
+++ /dev/null
@@ -1,9 +0,0 @@
-#Tue Mar 29 16:49:37 JST 2011
-activeProfiles=
-eclipse.preferences.version=1
-fullBuildGoals=process-test-resources
-includeModules=false
-resolveWorkspaceProjects=true
-resourceFilterGoals=process-resources resources\:testResources
-skipCompilerPlugin=true
-version=1
diff --git a/INSTALL b/INSTALL
old mode 100644
new mode 100755
diff --git a/Makefile b/Makefile
index 7ad5cc6..323c39d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,99 +1,165 @@
-
-include Makefile.common
-
-MVN:=mvn
-
-all: snappy
-
-SNAPPY_OUT:=$(TARGET)/$(snappy)-$(os_arch)
-SNAPPY_ARCHIVE:=$(TARGET)/snappy-$(VERSION).tar.gz
-SNAPPY_CC:=snappy-sinksource.cc snappy-stubs-internal.cc snappy.cc
-SNAPPY_SRC_DIR:=$(TARGET)/snappy-$(VERSION)
-SNAPPY_SRC:=$(addprefix $(SNAPPY_SRC_DIR)/,$(SNAPPY_CC))
-SNAPPY_OBJ:=$(addprefix $(SNAPPY_OUT)/,$(patsubst %.cc,%.o,$(SNAPPY_CC)) SnappyNative.o)
-
-SNAPPY_UNPACKED:=$(TARGET)/snappy-extracted.log
-
-CXXFLAGS:=$(CXXFLAGS) -I$(SNAPPY_SRC_DIR)
-
-$(SNAPPY_ARCHIVE):
- @mkdir -p $(@D)
- curl -o$@ http://snappy.googlecode.com/files/snappy-$(VERSION).tar.gz
-
-$(SNAPPY_UNPACKED): $(SNAPPY_ARCHIVE)
- tar xvfz $< -C $(TARGET)
- touch $@
-
-jni-header: $(SRC)/org/xerial/snappy/SnappyNative.h
-
-
-$(SRC)/org/xerial/snappy/SnappyNative.h: $(SRC)/org/xerial/snappy/SnappyNative.java
- $(JAVAH) -classpath $(TARGET)/classes -o $@ org.xerial.snappy.SnappyNative
-
-bytecode: src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode
-
-src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode: src/main/resources/org/xerial/snappy/SnappyNativeLoader.java
- @mkdir -p $(TARGET)/temp
- $(JAVAC) -source 1.5 -target 1.5 -d $(TARGET)/temp $<
- cp $(TARGET)/temp/org/xerial/snappy/SnappyNativeLoader.class $@
-
-$(SNAPPY_SRC): $(SNAPPY_UNPACKED)
-
-$(SNAPPY_OUT)/%.o : $(SNAPPY_SRC_DIR)/%.cc
- @mkdir -p $(@D)
- $(CXX) $(CXXFLAGS) -c $< -o $@
-
-$(SNAPPY_OUT)/SnappyNative.o : $(SRC)/org/xerial/snappy/SnappyNative.cpp $(SRC)/org/xerial/snappy/SnappyNative.h
- @mkdir -p $(@D)
- $(CXX) $(CXXFLAGS) -c $< -o $@
-
-
-$(SNAPPY_OUT)/$(LIBNAME): $(SNAPPY_OBJ)
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LINKFLAGS)
- $(STRIP) $@
-
-clean-native:
- rm -rf $(SNAPPY_OUT)
-
-clean:
- rm -rf $(TARGET)
-
-NATIVE_DIR:=src/main/resources/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH)
-NATIVE_TARGET_DIR:=$(TARGET)/classes/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH)
-NATIVE_DLL:=$(NATIVE_DIR)/$(LIBNAME)
-
-snappy-jar-version:=snappy-java-$(shell $(JAVA) -jar lib/silk-weaver.jar find 'project(artifactId, version)' pom.xml | grep snappy-java | awk '{ print $$2; }')
-
-native: $(SNAPPY_UNPACKED) $(NATIVE_DLL)
-snappy: native $(TARGET)/$(snappy-jar-version).jar
-
-$(NATIVE_DLL): $(SNAPPY_OUT)/$(LIBNAME)
- @mkdir -p $(@D)
- cp $< $@
- @mkdir -p $(NATIVE_TARGET_DIR)
- cp $< $(NATIVE_TARGET_DIR)/$(LIBNAME)
-
-
-$(TARGET)/$(snappy-jar-version).jar: native $(NATIVE_DLL)
- $(MVN) package -Dmaven.test.skip=true
-
-test: $(NATIVE_DLL)
- $(MVN) test
-
-win32:
- $(MAKE) native CXX=mingw32-g++ OS_NAME=Windows OS_ARCH=x86
-
-mac32:
- $(MAKE) native OS_NAME=Mac OS_ARCH=i386
-
-linux32:
- $(MAKE) native OS_NAME=Linux OS_ARCH=i386
-
-clean-native-linux32:
- $(MAKE) clean-native OS_NAME=Linux OS_ARCH=i386
-
-clean-native-win32:
- $(MAKE) clean-native OS_NAME=Windows OS_ARCH=x86
-
-javadoc:
- $(MVN) javadoc:javadoc -DreportOutputDirectory=wiki/apidocs
+
+include Makefile.common
+
+MVN:=mvn
+SBT:=./sbt
+
+all: snappy
+
+SNAPPY_OUT:=$(TARGET)/$(snappy)-$(os_arch)
+SNAPPY_ARCHIVE:=$(TARGET)/snappy-$(VERSION).tar.gz
+SNAPPY_CC:=snappy-sinksource.cc snappy-stubs-internal.cc snappy.cc
+SNAPPY_SRC_DIR:=$(TARGET)/snappy-$(VERSION)
+SNAPPY_SRC:=$(addprefix $(SNAPPY_SRC_DIR)/,$(SNAPPY_CC))
+SNAPPY_OBJ:=$(addprefix $(SNAPPY_OUT)/,$(patsubst %.cc,%.o,$(SNAPPY_CC)) SnappyNative.o)
+
+SNAPPY_UNPACKED:=$(TARGET)/snappy-extracted.log
+SNAPPY_GIT_UNPACKED:=$(TARGET)/snappy-git-extracted.log
+
+ifdef USE_GIT
+ ifndef GIT_REPO_URL
+ $(warning GIT_REPO_URL is not set when using git)
+ endif
+ ifndef GIT_SNAPPY_BRANCH
+ $(warning GIT_SNAPPY_BRANCH is not set when using git)
+ endif
+endif
+
+CXXFLAGS:=$(CXXFLAGS) -I$(SNAPPY_SRC_DIR)
+
+ifeq ($(OS_NAME),SunOS)
+ TAR:= gtar
+else
+ TAR:= tar
+endif
+
+$(SNAPPY_ARCHIVE):
+ @mkdir -p $(@D)
+ curl -o$@ http://snappy.googlecode.com/files/snappy-$(VERSION).tar.gz
+
+$(SNAPPY_UNPACKED): $(SNAPPY_ARCHIVE)
+ $(TAR) xvfz $< -C $(TARGET)
+ touch $@
+ cd $(SNAPPY_SRC_DIR) && ./configure
+
+$(SNAPPY_GIT_UNPACKED):
+ @mkdir -p $(SNAPPY_SRC_DIR)
+ git clone $(GIT_REPO_URL) $(SNAPPY_SRC_DIR)
+ git --git-dir=$(SNAPPY_SRC_DIR)/.git --work-tree=$(SNAPPY_SRC_DIR) checkout -b local/snappy-$(GIT_SNAPPY_BRANCH) $(GIT_SNAPPY_BRANCH)
+ touch $@
+ cd $(SNAPPY_SRC_DIR) && ./configure
+
+jni-header: $(SRC)/org/xerial/snappy/SnappyNative.h
+
+$(TARGET)/jni-classes/org/xerial/snappy/SnappyNative.class : $(SRC)/org/xerial/snappy/SnappyNative.java
+ @mkdir -p $(TARGET)/jni-classes
+ $(JAVAC) -source 1.6 -target 1.6 -d $(TARGET)/jni-classes -sourcepath $(SRC) $<
+
+$(SRC)/org/xerial/snappy/SnappyNative.h: $(TARGET)/jni-classes/org/xerial/snappy/SnappyNative.class
+ $(JAVAH) -force -classpath $(TARGET)/jni-classes -o $@ org.xerial.snappy.SnappyNative
+
+ifndef USE_GIT
+ $(SNAPPY_SRC): $(SNAPPY_UNPACKED)
+else
+ $(SNAPPY_SRC): $(SNAPPY_GIT_UNPACKED)
+endif
+
+$(SNAPPY_OUT)/%.o : $(SNAPPY_SRC_DIR)/%.cc
+ @mkdir -p $(@D)
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+$(SNAPPY_OUT)/SnappyNative.o : $(SRC)/org/xerial/snappy/SnappyNative.cpp $(SRC)/org/xerial/snappy/SnappyNative.h
+ @mkdir -p $(@D)
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+
+$(SNAPPY_OUT)/$(LIBNAME): $(SNAPPY_OBJ)
+ $(CXX) $(CXXFLAGS) -o $@ $+ $(LINKFLAGS)
+ $(STRIP) $@
+
+clean-native:
+ rm -rf $(SNAPPY_OUT)
+
+clean:
+ rm -rf $(TARGET)
+
+NATIVE_DIR:=src/main/resources/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH)
+NATIVE_TARGET_DIR:=$(TARGET)/classes/org/xerial/snappy/native/$(OS_NAME)/$(OS_ARCH)
+NATIVE_DLL:=$(NATIVE_DIR)/$(LIBNAME)
+
+snappy-jar-version:=snappy-java-$(shell perl -npe "s/version in ThisBuild\s+:=\s+\"(.*)\"/\1/" version.sbt | sed -e "/^$$/d")
+
+ifndef USE_GIT
+ native: $(SNAPPY_UNPACKED) $(NATIVE_DLL)
+else
+ native: $(SNAPPY_GIT_UNPACKED) $(NATIVE_DLL)
+endif
+snappy: native $(TARGET)/$(snappy-jar-version).jar
+
+$(NATIVE_DLL): $(SNAPPY_OUT)/$(LIBNAME)
+ @mkdir -p $(@D)
+ cp $< $@
+ @mkdir -p $(NATIVE_TARGET_DIR)
+ cp $< $(NATIVE_TARGET_DIR)/$(LIBNAME)
+
+
+package: $(TARGET)/$(snappy-jar-version).jar
+
+$(TARGET)/$(snappy-jar-version).jar:
+ $(SBT) package
+
+test: $(NATIVE_DLL)
+ $(SBT) test
+
+win32:
+ $(MAKE) native CROSS_PREFIX=i686-w64-mingw32- OS_NAME=Windows OS_ARCH=x86
+
+# for cross-compilation on Ubuntu, install the g++-mingw-w64-x86-64 package
+win64:
+ $(MAKE) native CROSS_PREFIX=x86_64-w64-mingw32- OS_NAME=Windows OS_ARCH=x86_64
+
+mac32:
+ $(MAKE) native OS_NAME=Mac OS_ARCH=x86
+
+linux32:
+ $(MAKE) native OS_NAME=Linux OS_ARCH=x86
+
+freebsd64:
+ $(MAKE) native OS_NAME=FreeBSD OS_ARCH=x86_64
+
+# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabi package
+linux-arm:
+ $(MAKE) native CROSS_PREFIX=arm-linux-gnueabi- OS_NAME=Linux OS_ARCH=arm
+
+# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabihf package
+linux-armhf:
+ $(MAKE) native CROSS_PREFIX=arm-linux-gnueabihf- OS_NAME=Linux OS_ARCH=armhf
+
+clean-native-linux32:
+ $(MAKE) clean-native OS_NAME=Linux OS_ARCH=x86
+
+clean-native-win32:
+ $(MAKE) clean-native OS_NAME=Windows OS_ARCH=x86
+
+javadoc:
+ $(SBT) doc
+
+install-m2:
+ $(SBT) publishM2
+
+googlecode-upload: googlecode-lib-upload googlecode-src-upload
+
+googlecode-lib-upload: $(TARGET)/snappy-java-$(VERSION)-lib.upload
+googlecode-src-upload: $(TARGET)/snappy-java-$(VERSION)-src.upload
+
+GOOGLECODE_USER:=leo at xerial.org
+
+$(TARGET)/snappy-java-$(VERSION)-lib.upload:
+ ./googlecode_upload.py -s "library for all platforms" -p snappy-java -l "Type-Executable,Featured,OpSys-All" -u "$(GOOGLECODE_USER)" target/snappy-java-$(VERSION).jar
+ touch $@
+
+$(TARGET)/snappy-java-$(VERSION)-src.upload:
+ ./googlecode_upload.py -s "source code archive" -p snappy-java -l "Type-Source,OpSys-All" -u "$(GOOGLECODE_USER)" target/snappy-java-$(VERSION).tar.gz
+ touch $@
+
+
diff --git a/Makefile.common b/Makefile.common
old mode 100644
new mode 100755
index f4a3fdd..7b22f07
--- a/Makefile.common
+++ b/Makefile.common
@@ -17,11 +17,12 @@ OSINFO_PROG := lib/org/xerial/snappy/OSInfo.class
## building OSInfo.java
#$(info compiling OSInfo.java)
#$(shell mkdir -p lib)
-#$(shell $(JAVAC) src/main/java/org/sqlite/OSInfo.java -d lib)
+#$(shell $(JAVAC) src/main/java/org/xerial/snappy/OSInfo.java -d lib)
OS_NAME := $(shell $(JAVA) -cp lib $(OSINFO_CLASS) --os)
OS_ARCH := $(shell $(JAVA) -cp lib $(OSINFO_CLASS) --arch)
LIB_FOLDER := $(shell $(JAVA) -cp lib $(OSINFO_CLASS))
+IBM_JDK_LIB := lib/inc_ibm
# Windows uses different path separators
ifeq ($(OS_NAME),Windows)
@@ -33,7 +34,7 @@ endif
snappy := snappy-$(VERSION)
-jni_md := $(shell find -L "$(JAVA_HOME)" -name jni_md.h)
+jni_md := $(shell find -L "$(JAVA_HOME)" -name jni_md.h | head -1)
ifneq ($(jni_md),)
jni_include := $(shell dirname "$(jni_md)")
endif
@@ -41,61 +42,154 @@ endif
# os=Default is meant to be generic unix/linux
-known_os_archs := Linux-i386 Linux-amd64 Mac-i386 Mac-x86_64 Windows-x86 Windows-amd64
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armhf Linux-ppc64 Mac-x86 Mac-x86_64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc64
os_arch := $(OS_NAME)-$(OS_ARCH)
+IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7"))
ifeq (,$(findstring $(strip $(os_arch)),$(known_os_archs)))
os_arch := Default
endif
-Default_CXX := g++
-Default_STRIP := strip
+os_folder := $(shell echo $(OS_NAME) | tr A-Z a-z)
+
+ifneq ($(IBM_JDK_7),)
+ $(shell mkdir -p $(IBM_JDK_LIB))
+ $(shell cp $(JAVA_HOME)/include/jniport.h $(IBM_JDK_LIB))
+ $(shell sed -i "s|#define JNIEXPORT *$$|#define JNIEXPORT __attribute__((__visibility__(\"default\")))|" $(IBM_JDK_LIB)/jniport.h)
+ $(shell sed -i "s|typedef long long jlong;.*|/*typedef long long jlong;*/|" $(IBM_JDK_LIB)/jniport.h)
+ $(shell cp $(JAVA_HOME)/include/$(os_folder)/jni_md.h $(IBM_JDK_LIB))
+ $(shell sed -i "s|#define JNIEXPORT|#define JNIEXPORT __attribute__((__visibility__(\"default\")))|" $(IBM_JDK_LIB)/jni_md.h)
+ $(shell sed -i "s|typedef long long jlong;.*|/*typedef long long jlong;*/|" $(IBM_JDK_LIB)/jni_md.h)
+endif
+
+# cross-compilation toolchain prefix (e.g. "arm-linux-gnueabi-")
+CROSS_PREFIX :=
+
+Default_CXX := $(CROSS_PREFIX)g++
+Default_STRIP := $(CROSS_PREFIX)strip
Default_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
Default_LINKFLAGS := -shared -static
Default_LIBNAME := libsnappyjava.so
Default_SNAPPY_FLAGS :=
-Linux-i386_CXX := g++
-Linux-i386_STRIP := strip
-Linux-i386_CXXFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m32
-Linux-i386_LINKFLAGS := -shared -static-libgcc -static-libstdc++
-Linux-i386_LIBNAME := libsnappyjava.so
-Linux-i386_SNAPPY_FLAGS:=
-
-Linux-amd64_CXX := g++
-Linux-amd64_STRIP := strip
-Linux-amd64_CXXFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m64
-Linux-amd64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
-Linux-amd64_LIBNAME := libsnappyjava.so
-Linux-amd64_SNAPPY_FLAGS :=
-
-Mac-i386_CXX := g++ -arch $(OS_ARCH)
-Mac-i386_STRIP := strip -x
-Mac-i386_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.4 -fvisibility=hidden
-Mac-i386_LINKFLAGS := -dynamiclib -static-libgcc
-Mac-i386_LIBNAME := libsnappyjava.jnilib
-Mac-i386_SNAPPY_FLAGS :=
+Linux-x86_CXX := $(CROSS_PREFIX)g++
+Linux-x86_STRIP := $(CROSS_PREFIX)strip
+ifeq ($(IBM_JDK_7),)
+ Linux-x86_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -m32
+else
+ Linux-x86_CXXFLAGS := -include $(IBM_JDK_LIB)/jni_md.h -include $(IBM_JDK_LIB)/jniport.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -m32
+endif
+Linux-x86_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+Linux-x86_LIBNAME := libsnappyjava.so
+Linux-x86_SNAPPY_FLAGS:=
+
+Linux-x86_64_CXX := $(CROSS_PREFIX)g++
+Linux-x86_64_STRIP := $(CROSS_PREFIX)strip
+ifeq ($(IBM_JDK_7),)
+ Linux-x86_64_CXXFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m64
+else
+ Linux-x86_64_CXXFLAGS := -include $(IBM_JDK_LIB)/jni_md.h -include $(IBM_JDK_LIB)/jniport.h -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m64
+endif
+Linux-x86_64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+Linux-x86_64_LIBNAME := libsnappyjava.so
+Linux-x86_64_SNAPPY_FLAGS :=
+
+Linux-ppc64_CXX := g++
+Linux-ppc64_STRIP := strip
+ifeq ($(IBM_JDK_7),)
+ Linux-ppc64_CXXFLAGS := -DHAVE_CONFIG_H -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m64
+else
+ Linux-ppc64_CXXFLAGS := -DHAVE_CONFIG_H -include $(IBM_JDK_LIB)/jni_md.h -include $(IBM_JDK_LIB)/jniport.h -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -O2 -fPIC
+endif
+Linux-ppc64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+Linux-ppc64_LIBNAME := libsnappyjava.so
+Linux-ppc64_SNAPPY_FLAGS :=
+
+AIX-ppc64_CXX := g++
+AIX-ppc64_STRIP := strip -X64
+AIX-ppc64_LIBNAME := libsnappyjava.a
+ifeq ($(IBM_JDK_7),)
+ AIX-ppc64_CXXFLAGS := -DHAVE_CONFIG_H -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -m64
+else
+ AIX-ppc64_CXXFLAGS := -DHAVE_CONFIG_H -I$(JAVA_HOME)/include/aix -Ilib/inc_ibm -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -maix64
+endif
+AIX-ppc64_LINKFLAGS := -shared -static-libgcc -static-libstdc++ -lcrypt
+AIX-ppc64_SNAPPY_FLAGS :=
+
+SunOS-x86_CXX := g++
+SunOS-x86_STRIP := strip
+SunOS-x86_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden
+SunOS-x86_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+SunOS-x86_LIBNAME := libsnappyjava.so
+SunOS-x86_SNAPPY_FLAGS :=
+
+SunOS-sparc_CXX := g++
+SunOS-sparc_STRIP := strip
+SunOS-sparc_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden
+SunOS-sparc_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+SunOS-sparc_LIBNAME := libsnappyjava.so
+SunOS-sparc_SNAPPY_FLAGS :=
+
+SunOS-x86_64_CXX := g++
+SunOS-x86_64_STRIP := strip
+SunOS-x86_64_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -m64
+SunOS-x86_64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
+SunOS-x86_64_LIBNAME := libsnappyjava.so
+SunOS-x86_64_SNAPPY_FLAGS :=
+
+# '-include lib/inc_linux/jni_md.h' is used to force the use of our version,
+# which defines JNIEXPORT differently; otherwise, since OpenJDK includes
+# jni_md.h in same directory as jni.h, the include path is ignored when
+# jni_md.h is included from jni.h
+
+Linux-arm_CXX := $(CROSS_PREFIX)g++
+Linux-arm_STRIP := $(CROSS_PREFIX)strip
+Linux-arm_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -mfloat-abi=softfp
+Linux-arm_LINKFLAGS := -shared -static-libgcc
+Linux-arm_LIBNAME := libsnappyjava.so
+Linux-arm_SNAPPY_FLAGS:=
+
+Linux-armhf_CXX := $(CROSS_PREFIX)g++
+Linux-armhf_STRIP := $(CROSS_PREFIX)strip
+Linux-armhf_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -mfloat-abi=hard
+Linux-armhf_LINKFLAGS := -shared -static-libgcc
+Linux-armhf_LIBNAME := libsnappyjava.so
+Linux-armhf_SNAPPY_FLAGS:=
+
+Mac-x86_CXX := g++ -arch i386
+Mac-x86_STRIP := strip -x
+Mac-x86_CXXFLAGS := -Ilib/inc_mac -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.4 -fvisibility=hidden
+Mac-x86_LINKFLAGS := -dynamiclib -static-libgcc
+Mac-x86_LIBNAME := libsnappyjava.jnilib
+Mac-x86_SNAPPY_FLAGS :=
Mac-x86_64_CXX := g++ -arch $(OS_ARCH)
Mac-x86_64_STRIP := strip -x
-Mac-x86_64_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.5 -fvisibility=hidden
-Mac-x86_64_LINKFLAGS := -dynamiclib -static-libgcc
+Mac-x86_64_CXXFLAGS := -Ilib/inc_mac -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.5 -fvisibility=hidden
+Mac-x86_64_LINKFLAGS := -dynamiclib
Mac-x86_64_LIBNAME := libsnappyjava.jnilib
Mac-x86_64_SNAPPY_FLAGS :=
-Windows-x86_CXX := mingw32-g++
-Windows-x86_STRIP := strip
+FreeBSD-x86_64_CXX := $(CROSS_PREFIX)g++
+FreeBSD-x86_64_STRIP := $(CROSS_PREFIX)strip
+FreeBSD-x86_64_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
+FreeBSD-x86_64_LINKFLAGS := -shared -static-libgcc
+FreeBSD-x86_64_LIBNAME := libsnappyjava.so
+FreeBSD-x86_64_SNAPPY_FLAGS :=
+
+Windows-x86_CXX := $(CROSS_PREFIX)g++
+Windows-x86_STRIP := $(CROSS_PREFIX)strip
Windows-x86_CXXFLAGS := -Ilib/inc_win -O2
Windows-x86_LINKFLAGS := -Wl,--kill-at -shared -static
Windows-x86_LIBNAME := snappyjava.dll
Windows-x86_SNAPPY_FLAGS :=
-Windows-amd64_CXX := x86_64-w64-mingw32-g++
-Windows-amd64_STRIP := x86_64-w64-mingw32-strip
-Windows-amd64_CXXFLAGS := -Ilib/inc_win -O2
-Windows-amd64_LINKFLAGS := -Wl,--kill-at -shared -static
-Windows-amd64_LIBNAME := snappyjava.dll
-Windows-amd64_SNAPPY_FLAGS :=
+Windows-x86_64_CXX := $(CROSS_PREFIX)g++
+Windows-x86_64_STRIP := $(CROSS_PREFIX)strip
+Windows-x86_64_CXXFLAGS := -Ilib/inc_win -O2
+Windows-x86_64_LINKFLAGS := -Wl,--kill-at -shared -static
+Windows-x86_64_LIBNAME := snappyjava.dll
+Windows-x86_64_SNAPPY_FLAGS :=
CXX := $($(os_arch)_CXX)
@@ -112,3 +206,4 @@ ifneq ($(jni_include),)
CXXFLAGS := $(CXXFLAGS) -I"$(jni_include)"
endif
+
diff --git a/Makefile.package b/Makefile.package
old mode 100644
new mode 100755
index 8f4feb5..3382c82
--- a/Makefile.package
+++ b/Makefile.package
@@ -1,87 +1,82 @@
-# Makefile for building and collecting native libraries in Win/Mac/Linux (32/64bit).
-
-include Makefile.common
-
-RESOURCE_DIR=src/main/resources
-NATIVE_DIR=$(RESOURCE_DIR)/native
-RSYNC=rsync -av -e ssh --exclude=".hg"
-
-WORK:=work/hg/snappy-java
-
-WIN64_SERVER=localhost
-MAC_SERVER=172.16.133.41
-MAC_TIGER_SERVER=172.16.133.171
-
-
-AMD_SERVER=hx02
-
-
-BUILD_CMD_PREFIX = hg pull -u && make clean-native && make
-BUILD_CMD = $(BUILD_CMD_PREFIX) native
-TEST_CMD = hg pull -u && mvn test
-
-all: compile test
-
-.PHONY: compile test native clean
-
-DLL_DIR=src/main/resources/org/xerial/snappy/native
-
-DLL_WIN=$(DLL_DIR)/Windows/x86/snappyjava.dll
-DLL_WIN64=$(DLL_DIR)/Windows/amd64/snappyjava.dll
-DLL_MAC=$(DLL_DIR)/Mac/x86_64/libsnappyjava.jnilib
-DLL_TIGER_MAC=$(DLL_DIR)/Mac/i386/libsnappyjava.jnilib
-DLL_LINUX=$(DLL_DIR)/Linux/i386/libsnappyjava.so
-DLL_AMD64=$(DLL_DIR)/Linux/amd64/libsnappyjava.so
-
-version_file:=src/main/java/org/xerial/snappy/VERSION
-
-$(DLL_WIN): $(version_file)
- ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD_PREFIX) win32"
- mkdir -p $(dir $(DLL_WIN))
- $(RSYNC) $(WIN_SERVER):./$(WORK)/$(DLL_WIN) $(DLL_WIN)
-
-$(DLL_WIN64): $(version_file)
- ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
- mkdir -p $(dir $(DLL_WIN64))
- $(RSYNC) $(WIN64_SERVER):./$(WORK)/$(DLL_WIN64) $(DLL_WIN64)
-
-$(DLL_MAC): $(version_file)
- ssh $(MAC_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
- mkdir -p $(dir $(DLL_MAC))
- $(RSYNC) $(MAC_SERVER):./$(WORK)/$(DLL_MAC) $(DLL_MAC)
-
-$(DLL_TIGER_MAC): $(version_file)
- ssh $(MAC_TIGER_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
- mkdir -p $(dir $(DLL_TIGER_MAC))
- $(RSYNC) $(MAC_TIGER_SERVER):./$(WORK)/$(DLL_TIGER_MAC) $(DLL_TIGER_MAC)
-
-$(DLL_LINUX):$(version_file)
- ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD_PREFIX) linux32"
- mkdir -p $(dir $(DLL_LINUX))
- $(RSYNC) $(AMD_SERVER):./$(WORK)/$(DLL_LINUX) $(DLL_LINUX)
-
-$(DLL_AMD64):$(version_file)
- ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
- mkdir -p $(dir $(DLL_AMD64))
- $(RSYNC) $(AMD_SERVER):./$(WORK)/$(DLL_AMD64) $(DLL_AMD64)
-
-
-native: $(DLL_WIN) $(DLL_WIN64) $(DLL_LINUX) $(DLL_AMD64) $(DLL_MAC) $(DLL_TIGER_MAC)
-
-compile: native
-
-test:
- ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
- ssh $(MAC_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
- ssh $(MAC_TIGER_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
- ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
-
-release:
- mvn release:prepare
- mvn release:perform
-
-release-xerial:
- mvn release:perform -Dtag=snappy-java-$(VERSION)
-
-release-sourceforge:
- mvn release:perform -Darguments="-P sourceforge" -Dtag=snappy-java-$(VERSION)
+# Makefile for building and collecting native libraries in Win/Mac/Linux (32/64bit).
+
+include Makefile.common
+
+RESOURCE_DIR=src/main/resources
+NATIVE_DIR=$(RESOURCE_DIR)/native
+RSYNC=rsync -av -e ssh --exclude=".hg"
+
+WORK:=work/hg/snappy-java
+
+WIN64_SERVER=localhost
+MAC_SERVER=172.16.133.41
+MAC_TIGER_SERVER=172.16.133.171
+
+
+AMD_SERVER=hx02
+
+
+BUILD_CMD_PREFIX = hg pull -u && make clean-native && make
+BUILD_CMD = $(BUILD_CMD_PREFIX) native
+TEST_CMD = hg pull -u && mvn test
+
+all: compile test
+
+.PHONY: compile test native clean
+
+DLL_DIR=src/main/resources/org/xerial/snappy/native
+
+DLL_WIN=$(DLL_DIR)/Windows/x86/snappyjava.dll
+DLL_WIN64=$(DLL_DIR)/Windows/amd64/snappyjava.dll
+DLL_MAC=$(DLL_DIR)/Mac/x86_64/libsnappyjava.jnilib
+DLL_TIGER_MAC=$(DLL_DIR)/Mac/i386/libsnappyjava.jnilib
+DLL_LINUX=$(DLL_DIR)/Linux/i386/libsnappyjava.so
+DLL_AMD64=$(DLL_DIR)/Linux/amd64/libsnappyjava.so
+
+version_file:=src/main/java/org/xerial/snappy/VERSION
+
+$(DLL_WIN): $(version_file)
+ ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD_PREFIX) win32"
+ mkdir -p $(dir $(DLL_WIN))
+ $(RSYNC) $(WIN_SERVER):./$(WORK)/$(DLL_WIN) $(DLL_WIN)
+
+$(DLL_WIN64): $(version_file)
+ ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
+ mkdir -p $(dir $(DLL_WIN64))
+ $(RSYNC) $(WIN64_SERVER):./$(WORK)/$(DLL_WIN64) $(DLL_WIN64)
+
+$(DLL_MAC): $(version_file)
+ ssh $(MAC_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
+ mkdir -p $(dir $(DLL_MAC))
+ $(RSYNC) $(MAC_SERVER):./$(WORK)/$(DLL_MAC) $(DLL_MAC)
+
+$(DLL_TIGER_MAC): $(version_file)
+ ssh $(MAC_TIGER_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
+ mkdir -p $(dir $(DLL_TIGER_MAC))
+ $(RSYNC) $(MAC_TIGER_SERVER):./$(WORK)/$(DLL_TIGER_MAC) $(DLL_TIGER_MAC)
+
+$(DLL_LINUX):$(version_file)
+ ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD_PREFIX) linux32"
+ mkdir -p $(dir $(DLL_LINUX))
+ $(RSYNC) $(AMD_SERVER):./$(WORK)/$(DLL_LINUX) $(DLL_LINUX)
+
+$(DLL_AMD64):$(version_file)
+ ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(BUILD_CMD)"
+ mkdir -p $(dir $(DLL_AMD64))
+ $(RSYNC) $(AMD_SERVER):./$(WORK)/$(DLL_AMD64) $(DLL_AMD64)
+
+
+native: $(DLL_WIN) $(DLL_WIN64) $(DLL_LINUX) $(DLL_AMD64) $(DLL_MAC) $(DLL_TIGER_MAC)
+
+compile: native
+
+test:
+ ssh $(WIN64_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
+ ssh $(MAC_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
+ ssh $(MAC_TIGER_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
+ ssh $(AMD_SERVER) "source .zprofile && cd $(WORK) && $(TEST_CMD)"
+
+release:
+ mvn deploy -DperformRelease=true
+
+
diff --git a/Milestone.md b/Milestone.md
new file mode 100644
index 0000000..c3b0389
--- /dev/null
+++ b/Milestone.md
@@ -0,0 +1,127 @@
+## Features under consideration
+ * `SnappyIndexer` for parallel compression/decompression
+ * CUI commands (snap/unsnap)
+
+Since vesion 1.1.0.x, Java 6 (1.6) or higher is required.
+
+## snappy-java-1.1.1.6 (26 Oct 2014)
+ * Fixes #88, #89, #90 and #91
+ * Fixed the broken build of 1.1.1.4 and memory leak bug 1.1.1.5 (so never use these versions)
+
+## snappy-java-1.0.5.4 (12 September 2014)
+ * Embedded libstdc++ for Linux/amd64 native library (hotfix to 1.0.5.x series)
+
+## snappy-java-1.1.1.3 (19 July 2014)
+ * Improved the performance of SnappyOutputStream
+
+## snappy-java-1.1.1 (4 July 2014)
+ * Added Snappy framing format support: SnappyFramedInput/OutputStream
+ * Added native libraries for PowerPC, IBM-AIX 6.4, SunOS.
+
+# snappy-java-1.1.1-M4 (4 July 2014)
+ * Add linux-x86_64 native library, embedding libstdc++
+ * IBM AIX 6.1 support
+ * A fix for loading in OSGi in Mac OS X (#76)
+
+# snappy-java-1.1.1-M3 (26 June 2014)
+ * Add PowerPC support (ppc64, ppc64le)
+ * Building with sbt
+
+# snappy-java-1.0.5.2 (25 June 2014)
+ * Maintanance release
+ * Add PowerPC support ppc64le, ppc64 (big-endian)
+
+# snappy-java-1.1.1-M2 (12 June 2014)
+ * Bug fixes and some optimization of SnappyFramedFormat
+ * Added a native library for ppc64le
+ * Preview build (without libstdc++ embedded for Linux/x86_64)
+
+
+## snappy-java-1.1.1-M1
+ * Preview build (without libstdc++ embedded for Linux/x86_64)
+
+## snappy-java-1.1.0.1 (8 November 2013)
+ * Add SunOS/x86_64 support
+
+## snappy-java-1.1.0 (17 October 2013)
+ * Add Snappy framed format support (SnappyFramedInputStream, SnappyFramedOutputStream)
+ * Add SunOS support
+ * Dropped OpenBSD support
+ * OSGi support
+
+## snappy-java-1.1.0-M4 (20 August 2013)
+ * New JNI native code loading mechanism, which does not rely on native code injection.
+ * Add OpenBSD support
+ * Add Framed format support
+ * Recovered 32-bit Mac support
+ * Fixes several issues
+ * Target to Java6 (Java5 will be no longer supported)
+ * Add zero-copy compression, decompression and isValidCompressedData for LArray <https://github.com/xerial/larray>
+
+## snappy-java-1.1.0-M3 (28 March 2013)
+ * Fix linux amd64 build (embed libstdc++)
+ * Fixes #26
+
+## snappy-java-1.1.0-M1 (27 March 2013)
+ * Upgrade to snappy-1.1.0
+ * Add zero-copy compression (rawCompress, rawUncompress) that can be used with LArray <https://github.com/xerial/larray>
+ * Drop 32-bit Mac support
+
+## snappy-java-1.0.5-M2 (27 September 2012)
+ * Upgrade release for snappy-1.0.5
+
+## snappy-java-1.0.4.1 (5 September 2011)
+ * Fixes issue 33: Fixes a problem when reading incomplete input stream
+
+## snappy-java-1.0.4 (September 22nd, 2011)
+ * Upgrade to snappy-1.0.4
+ * Enhanced the Javadoc
+
+## snappy-java-1.0.3.3 (September 10th, 2011)
+ * Add support for Oracle JRockit JVM. (issue 28)
+
+## snappy-java-1.0.3.2 (August 23rd, 2011)
+ * Upgrade from the previous release is optional
+ * Add system properites to switch sytem installed native library or bundled
+ library (issue 20, issue 26)
+ * source code tar ball (issue 25)
+ * primitive array read/write support (issue 24)
+
+## snappy-java-1.0.3.1 (August 2nd, 2011)
+ * Maintenance release (no significant change)
+ * Refactoring code
+ * Rebuild win32 binary
+
+## snappy-java-1.0.3 (July 11st, 2011)
+ * Deprected SnappyException. Instead snappy-java uses IOException to issue
+ errors. This change is necessary to support JNI code injection to a parent
+ class loader.
+
+## snappy-java-1.0.3-rc4 (June 27th, 2011)
+ * JNI interface injection so that multiple applications can share the native
+ code. Issue 21
+
+## snappy-java-1.0.3-rc3 (June 21st, 2011)
+ * Fixes issue 18, issue 19
+ * Reduces memory footprint (contribution from Arec Wysoker)
+
+## snappy-java-1.0.3-rc2 (June 7th, 2011)
+ * Fixes issue 17
+
+## snappy-java-1.0.3-rc1 (June 4th, 2011)
+ * Upgrade to snappy-1.0.3 done.
+ * libstdc++ embedding (only for Linux version) done.
+ * Minor bug fixes
+
+## snappy-java-1.0.1-rc4 (April 11th, 2011)
+ * Primitive array support (e.g. `int[]`, `float[]`, etc.) issue 10
+ * String compression/decompression
+
+## snappy-java-1.0.1-rc3 (April 4th, 2011)
+ * Running tests under win32/mac32, etc.
+
+## snappy-java-1.0.1-rc2 (April 2nd, 2011)
+ * Adding `SnappyOutputStream` `SnappyInputStream` issue 3
+
+
+ * March 29th. Started snappy-java project
diff --git a/NOTICE b/NOTICE
old mode 100644
new mode 100755
index 639ab66..7f27722
--- a/NOTICE
+++ b/NOTICE
@@ -1,6 +1,9 @@
This product includes software developed by Google
Snappy: http://code.google.com/p/snappy/ (New BSD License)
+This product includes software developed by Apache
+ PureJavaCrc32C from apache-hadoop-common http://hadoop.apache.org/
+ (Apache 2.0 license)
This library containd statically linked libstdc++. This inclusion is allowed by
"GCC RUntime Library Exception"
diff --git a/README b/README
deleted file mode 100644
index d060d44..0000000
--- a/README
+++ /dev/null
@@ -1,102 +0,0 @@
-This document is a copy of http://code.google.com/p/snappy-java/
-
----------------------------------------
-The snappy-java is a Java port of the snappy http://code.google.com/p/snappy/, a fast compresser/decompresser written in C++ developed by Google.
-
-== Features ==
- * [http://www.apache.org/licenses/LICENSE-2.0 Apache Licence Version 2.0]. Free for both commercial and non-commercial use.
- * Fast compression/decompression tailored to 64-bit CPU architecture.
- * JNI-based implementation to achieve comparable performance to the native C++ version.
- * Although snappy-java uses JNI, it can be used safely with multiple class loaders (e.g. Tomcat, etc.).
- * Portable across various operating systems; Snappy-java contains native libraries built for Window/Mac/Linux (32/64-bit). At runtime, snappy-java loads one of these libraries according to your machine environment (It looks system properties, `os.name` and `os.arch`).
- * Simple usage. Add the snappy-java-(version).jar file to your classpath. Then call compression/decompression methods in org.xerial.snappy.Snappy.
-
-== Performance ==
- * Snappy's main target is very high-speed compression/decompression with reasonable compression size. So the compression ratio of snappy-java is modest and about the same as `LZF` (ranging 20%-100% according to the dataset).
-
- * Here are some [https://github.com/ning/jvm-compressor-benchmark/wiki benchmark results], comparing snappy-java and the other compressors `LZO-java`/`LZF`/`QuickLZ`/`Gzip`/`Bzip2`. Thanks [http://twitter.com/#!/cowtowncoder Tatu Saloranta @cowtowncoder] for providing the benchmark suite.
- * The benchmark result indicates snappy-java is the fastest compreesor/decompressor in Java:
- * http://ning.github.com/jvm-compressor-benchmark/results/canterbury-roundtrip-2011-07-28/index.html
- * The decompression speed is twice as fast as the others:
- * http://ning.github.com/jvm-compressor-benchmark/results/canterbury-uncompress-2011-07-28/index.html
-
-
-
-== Download ==
-The current stable version 1.0.3.1 is available from here:
- * Release version: http://maven.xerial.org/repository/artifact/org/xerial/snappy/snappy-java
- * [Milestone] release plans
- * Snapshot version (the latest beta version): http://maven.xerial.org/repository/snapshot/org/xerial/snappy/snappy-java/
-
-If you are a Maven user, see [#Using_with_Maven]
-
-== Usage ==
-First, import `org.xerial.snapy.Snappy` in your Java code:
-{{{
-import org.xerial.snappy.Snappy;
-}}}
-
-Then use `Snappy.compress(byte[])` and `Snappy.uncompress(byte[])`:
-{{{
-String input = "Hello snappy-java! Snappy-java is a JNI-based wrapper of "
-+ "Snappy, a fast compresser/decompresser.";
-byte[] compressed = Snappy.compress(input.getBytes("UTF-8"));
-byte[] uncompressed = Snappy.uncompress(compressed);
-
-String result = new String(uncompressed, "UTF-8");
-System.out.println(result);
-}}}
-
-In addition, high-level methods (`Snappy.compress(String)`, `Snappy.compress(float[] ..)` etc. ) and low-level ones (e.g. `Snappy.rawCompress(.. )`, `Snappy.rawUncompress(..)`, etc.), which minimize memory copies, can be used. See also
-[http://code.google.com/p/snappy-java/source/browse/src/main/java/org/xerial/snappy/Snappy.java Snappy.java]
-
-===Stream-based API===
-Stream-based compressor/decompressor `SnappyOutputStream`/`SnappyInputStream` are also available for reading/writing large data sets.
-
-===Setting classpath==
-If you have snappy-java-(VERSION).jar in the current directory, use `-classpath` option as follows:
-{{{
-$ javac -classpath ".;snappy-java-(VERSION).jar" Sample.java # in Windows
-or
-$ javac -classpath ".:snappy-java-(VERSION).jar" Sample.java # in Mac or Linux
-}}}
-
-===Using with Maven===
- * Snappy-java is available from Maven's central repository: http://repo1.maven.org/maven2/org/xerial/snappy/snappy-java
-
-Add the following dependency to your pom.xml:
-{{{
-<dependency>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- <version>(version)</version>
- <type>jar</type>
- <scope>compile</scope>
-</dependency>
-}}}
-
-==Public discussion group==
-Post bug reports or feature request to the Issue Tracker: http://code.google.com/p/snappy-java/issues/list
-
-Public discussion forum is here: [http://groups.google.com/group/xerial?hl=en Xerial Public Discussion Group].
-
-
-== Building from the source code ==
-See the [http://code.google.com/p/snappy-java/source/browse/INSTALL installation instruction]. Building from the source code is an option when your OS platform and CPU architecture is not supported. To build snappy-java, you need Mercurial(hg), JDK (1.6 or higher), Maven (3.x or higher is required), g++ compiler (mingw in Windows) etc.
-
-{{{
-$ hg clone https://snappy-java.googlecode.com/hg/ snappy-java
-$ cd snappy-java
-$ make
-}}}
-
-A file `target/snappy-java-$(version).jar` is the product additionally containing the native library built for your platform.
-
-==Miscellaneous Notes==
-===Using snappy-java with Tomcat 6 (or higher) Web Server===
-
-Simply put the snappy-java's jar to WEB-INF/lib folder of your web application. Usual JNI-library specific problem no longer exists since snappy-java version 1.0.3 or higher can be loaded by multiple class loaders in the same JVM by using native code injection to the parent class loader (Issue 21).
-
-
-----
-Snappy-java is developed by [http://www.xerial.org/leo Taro L. Saito]. Twitter [http://twitter.com/#!/taroleo @taroleo]
diff --git a/README.md b/README.md
new file mode 100755
index 0000000..54f5abb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,169 @@
+The snappy-java is a Java port of the snappy
+<http://code.google.com/p/snappy/>, a fast C++ compresser/decompresser developed by Google.
+
+## Features
+ * Fast compression/decompression tailored to 64-bit CPU architecture.
+ * JNI-based implementation to achieve comparable performance to the native C++ version.
+ * Although snappy-java uses JNI, it can be used safely with multiple class loaders (e.g. Tomcat, etc.).
+ * Supporting compression/decompression of Java primitive arrays (`float[]`, `double[]`, `int[]`, `short[]`, `long[]`, etc.)
+ * Portable across various operating systems; Snappy-java contains native libraries built for Window/Mac/Linux (64-bit). snappy-java loads one of these libraries according to your machine environment (It looks system properties, `os.name` and `os.arch`).
+ * Simple usage. Add the snappy-java-(version).jar file to your classpath. Then call compression/decompression methods in `org.xerial.snappy.Snappy`.
+ * [Framing-format support](http://snappy.googlecode.com/svn/trunk/framing_format.txt) (Since 1.1.0 version)
+ * OSGi support
+ * [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). Free for both commercial and non-commercial use.
+
+## Performance
+ * Snappy's main target is very high-speed compression/decompression with reasonable compression size. So the compression ratio of snappy-java is modest and about the same as `LZF` (ranging 20%-100% according to the dataset).
+
+ * Here are some [benchmark results](https://github.com/ning/jvm-compressor-benchmark/wiki), comparing
+ snappy-java and the other compressors
+ `LZO-java`/`LZF`/`QuickLZ`/`Gzip`/`Bzip2`. Thanks [Tatu Saloranta @cotowncoder](http://twitter.com/#!/cowtowncoder) for providing the benchmark suite.
+ * The benchmark result indicates snappy-java is the fastest compreesor/decompressor in Java
+ * <http://ning.github.com/jvm-compressor-benchmark/results/canterbury-roundtrip-2011-07-28/index.html>
+ * The decompression speed is twice as fast as the others:
+ * <http://ning.github.com/jvm-compressor-benchmark/results/canterbury-uncompress-2011-07-28/index.html>
+
+
+## Download
+
+ * [Release Notes](Milestone.md)
+
+The current stable version is available from here:
+ * Release version: http://central.maven.org/maven2/org/xerial/snappy/snappy-java/
+ * Snapshot version (the latest beta version): https://oss.sonatype.org/content/repositories/snapshots/org/xerial/snappy/snappy-java/
+
+For Maven user, see [pom.xml example](#using-with-maven).
+
+## Usage
+First, import `org.xerial.snapy.Snappy` in your Java code:
+
+```java
+import org.xerial.snappy.Snappy;
+```
+
+Then use `Snappy.compress(byte[])` and `Snappy.uncompress(byte[])`:
+
+```java
+String input = "Hello snappy-java! Snappy-java is a JNI-based wrapper of "
+ + "Snappy, a fast compresser/decompresser.";
+byte[] compressed = Snappy.compress(input.getBytes("UTF-8"));
+byte[] uncompressed = Snappy.uncompress(compressed);
+
+String result = new String(uncompressed, "UTF-8");
+System.out.println(result);
+```
+
+In addition, high-level methods (`Snappy.compress(String)`, `Snappy.compress(float[] ..)` etc. ) and low-level ones (e.g. `Snappy.rawCompress(.. )`, `Snappy.rawUncompress(..)`, etc.), which minimize memory copies, can be used.
+
+### Stream-based API
+Stream-based compressor/decompressor `SnappyFramedOutputStream`/`SnappyFramedInputStream` are also available for reading/writing large data sets.
+
+ * See also [Javadoc API](https://oss.sonatype.org/service/local/repositories/releases/archive/org/xerial/snappy/snappy-java/1.1.0/snappy-java-1.1.0-javadoc.jar/!/index.html)
+
+### Setting classpath
+If you have snappy-java-(VERSION).jar in the current directory, use `-classpath` option as follows:
+
+ $ javac -classpath ".;snappy-java-(VERSION).jar" Sample.java # in Windows
+ or
+ $ javac -classpath ".:snappy-java-(VERSION).jar" Sample.java # in Mac or Linux
+
+
+### Using with Maven
+ * Snappy-java is available from Maven's central repository: <http://repo1.maven.org/maven2/org/xerial/snappy/snappy-java>
+
+Add the following dependency to your pom.xml:
+
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>(version)</version>
+ <type>jar</type>
+ <scope>compile</scope>
+ </dependency>
+
+### Using with sbt
+
+```
+libraryDependencies += "org.xerial.snappy" % "snappy-java" % "(version)"
+```
+
+
+## Public discussion group
+Post bug reports or feature request to the Issue Tracker: <https://github.com/xerial/snappy-java/issues>
+
+Public discussion forum is here: <http://groups.google.com/group/xerial?hl=en Xerial Public Discussion Group>
+
+
+## Building from the source code
+See the [installation instruction](https://github.com/xerial/snappy-java/blob/develop/INSTALL). Building from the source code is an option when your OS platform and CPU architecture is not supported. To build snappy-java, you need Git, JDK (1.6 or higher), g++ compiler (mingw in Windows) etc.
+
+ $ git clone https://github.com/xerial/snappy-java.git
+ $ cd snappy-java
+ $ make
+
+When building on Solaris use
+
+ $ gmake
+
+A file `target/snappy-java-$(version).jar` is the product additionally containing the native library built for your platform.
+
+## Building linux x86_64 binary
+
+snappy-java tries to static link libstdc++ to increase the availability for various Linux versions. However, standard distributions of 64-bit Linux OS rarely provide libstdc++ compiled with `-fPIC` option. I currently uses custom g++, compiled as follows:
+
+```
+$ cd work
+$ wget (gcc-4.8.3 source)
+$ tar xvfz (gcc-4.8.3.tar.gz)
+$ cd gcc-4.8.3
+$ ./contrib/download_prerequisites
+$ cd ..
+$ mkdir objdir
+$ cd objdir
+$ ../gcc-4.8.3/configure --prefix=$HOME/local/gcc-4.8.3 CXXFLAGS=-fPIC CFLAGS=-fPIC --enable-languages=c,c++
+$ make
+$ make install
+```
+
+This g++ build enables static linking of libstdc++. For more infomation on building GCC, see GCC's home page.
+
+## Cross-compiling for other platforms
+The Makefile contains rules for cross-compiling the native library for other platforms so that the snappy-java JAR can support multiple platforms. For example, to build the native libraries for x86 Linux, x86 and x86-64 Windows, and soft- and hard-float ARM:
+
+ $ make linux32 win32 win64 linux-arm linux-armhf
+
+If you append `snappy` to the line above, it will also build the native library for the current platform and then build the snappy-java JAR (containing all native libraries built so far).
+
+Of course, you must first have the necessary cross-compilers and development libraries installed for each target CPU and OS. For example, on Ubuntu 12.04 for x86-64, install the following packages for each target:
+
+ * linux32: `sudo apt-get install g++-multilib libc6-dev-i386 lib32stdc++6`
+ * win32: `sudo apt-get install g++-mingw-w64-i686`
+ * win64: `sudo apt-get install g++-mingw-w64-x86-64`
+ * arm: `sudo apt-get install g++-arm-linux-gnueabi`
+ * armhf: `sudo apt-get install g++-arm-linux-gnueabihf`
+
+Unfortunately, cross-compiling for Mac OS X is not currently possible; you must compile within OS X.
+
+If you are using Mac and openjdk7 (or higher), use the following option:
+
+ $ make native LIBNAME=libsnappyjava.dylib
+
+## For developers
+
+snappy-java uses sbt (simple build tool for Scala) as a build tool. Here is a simple usage
+
+ $ ./sbt # enter sbt console
+ > ~test # run tests upon source code change
+ > ~test-only * # run tests that matches a given name pattern
+ > publishM2 # publish jar to $HOME/.m2/repository
+ > package # create jar file
+
+For the details of sbt usage, see my blog post: [Building Java Projects with sbt](http://xerial.org/blog/2014/03/24/sbt/)
+
+## Miscellaneous Notes
+### Using snappy-java with Tomcat 6 (or higher) Web Server
+
+Simply put the snappy-java's jar to WEB-INF/lib folder of your web application. Usual JNI-library specific problem no longer exists since snappy-java version 1.0.3 or higher can be loaded by multiple class loaders.
+
+----
+Snappy-java is developed by [Taro L. Saito](http://www.xerial.org/leo). Twitter [@taroleo](http://twitter.com/#!/taroleo)
diff --git a/build.sbt b/build.sbt
new file mode 100644
index 0000000..6bd4981
--- /dev/null
+++ b/build.sbt
@@ -0,0 +1,107 @@
+import SonatypeKeys._
+
+sonatypeSettings
+
+name := "snappy-java"
+
+organization := "org.xerial.snappy"
+
+organizationName := "xerial.org"
+
+description := "snappy-java: A fast compression/decompression library"
+
+profileName := "org.xerial"
+
+pomExtra := {
+ <url>https://github.comm/xerial/snappy-java</url>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <developers>
+ <developer>
+ <id>leo</id>
+ <name>Taro L. Saito</name>
+ <email>leo at xerial.org</email>
+ <organization>Xerial Project</organization>
+ <roles>
+ <role>Architect</role>
+ <role>Project Manager</role>
+ <role>Chief Developer</role>
+ </roles>
+ <timezone>+9</timezone>
+ </developer>
+ </developers>
+ <issueManagement>
+ <system>GitHub</system>
+ <url>http://github.com/xerial/snappy-java/issues/list</url>
+ </issueManagement>
+ <inceptionYear>2011</inceptionYear>
+ <scm>
+ <connection>scm:git at github.com:xerial/snappy-java.git</connection>
+ <developerConnection>scm:git:git at github.com:xerial/snappy-java.git</developerConnection>
+ <url>git at github.com:xerial/snappy-java.git</url>
+ </scm>
+}
+
+scalaVersion := "2.11.1"
+
+javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.6", "-target", "1.6")
+
+testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v")
+
+concurrentRestrictions in Global := Seq(Tags.limit(Tags.Test, 1))
+
+autoScalaLibrary := false
+
+crossPaths := false
+
+logBuffered in Test := false
+
+incOptions := incOptions.value.withNameHashing(true)
+
+libraryDependencies ++= Seq(
+ "junit" % "junit" % "4.8.2" % "test",
+ "org.codehaus.plexus" % "plexus-classworlds" % "2.4" % "test",
+ "org.xerial.java" % "xerial-core" % "2.1" % "test",
+ "org.xerial" % "xerial-core" % "3.2.3" % "test",
+ "org.scalatest" % "scalatest_2.11" % "2.2.0" % "test",
+ "org.osgi" % "org.osgi.core" % "4.3.0" % "provided",
+ "com.novocode" % "junit-interface" % "0.10" % "test"
+)
+
+osgiSettings
+
+
+OsgiKeys.exportPackage := Seq("org.xerial.snappy", "org.xerial.snappy.buffer")
+
+OsgiKeys.bundleSymbolicName := "org.xerial.snappy.snappy-java"
+
+OsgiKeys.bundleActivator := Option("org.xerial.snappy.SnappyBundleActivator")
+
+OsgiKeys.importPackage := Seq("""org.osgi.framework;version="[1.5,2)"""")
+
+OsgiKeys.additionalHeaders := Map(
+ "Bundle-NativeCode" -> Seq(
+"org/xerial/snappy/native/Windows/x86_64/snappyjava.dll;osname=win32;processor=x86-64",
+"org/xerial/snappy/native/Windows/x86/snappyjava.dll;osname=win32;processor=x86",
+"org/xerial/snappy/native/Mac/x86/libsnappyjava.jnilib;osname=macosx;processor=x86",
+"org/xerial/snappy/native/Mac/x86_64/libsnappyjava.jnilib;osname=macosx;processor=x86-64",
+"org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so;osname=linux;processor=x86-64",
+"org/xerial/snappy/native/Linux/x86/libsnappyjava.so;osname=linux;processor=x86",
+"org/xerial/snappy/native/Linux/arm/libsnappyjava.so;osname=linux;processor=arm",
+"org/xerial/snappy/native/Linux/ppc64/libsnappyjava.so;osname=linux;processor=ppc64",
+"org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so;osname=linux;processor=ppc64le",
+"org/xerial/snappy/native/AIX/ppc64/libsnappyjava.a;osname=aix;processor=ppc64",
+"org/xerial/snappy/native/SunOS/x86/libsnappyjava.so;osname=sunos;processor=x86",
+"org/xerial/snappy/native/SunOS/x86_64/libsnappyjava.so;osname=sunos;processor=x86-64",
+"org/xerial/snappy/native/SunOS/sparc/libsnappyjava.so;osname=sunos;processor=sparc"
+).mkString(","),
+ "Bundle-DocURL" -> "http://www.xerial.org/",
+ "Bundle-License" -> "http://www.apache.org/licenses/LICENSE-2.0.txt",
+ "Bundle-ActivationPolicy" -> "lazy",
+ "Bundle-Name" -> "snappy-java: A fast compression/decompression library"
+)
diff --git a/googlecode_upload.py b/googlecode_upload.py
new file mode 100755
index 0000000..d2d5f97
--- /dev/null
+++ b/googlecode_upload.py
@@ -0,0 +1,248 @@
+#!/usr/bin/env python
+#
+# Copyright 2006, 2007 Google Inc. All Rights Reserved.
+# Author: danderson at google.com (David Anderson)
+#
+# Script for uploading files to a Google Code project.
+#
+# This is intended to be both a useful script for people who want to
+# streamline project uploads and a reference implementation for
+# uploading files to Google Code projects.
+#
+# To upload a file to Google Code, you need to provide a path to the
+# file on your local machine, a small summary of what the file is, a
+# project name, and a valid account that is a member or owner of that
+# project. You can optionally provide a list of labels that apply to
+# the file. The file will be uploaded under the same name that it has
+# in your local filesystem (that is, the "basename" or last path
+# component). Run the script with '--help' to get the exact syntax
+# and available options.
+#
+# Note that the upload script requests that you enter your
+# googlecode.com password. This is NOT your Gmail account password!
+# This is the password you use on googlecode.com for committing to
+# Subversion and uploading files. You can find your password by going
+# to http://code.google.com/hosting/settings when logged in with your
+# Gmail account. If you have already committed to your project's
+# Subversion repository, the script will automatically retrieve your
+# credentials from there (unless disabled, see the output of '--help'
+# for details).
+#
+# If you are looking at this script as a reference for implementing
+# your own Google Code file uploader, then you should take a look at
+# the upload() function, which is the meat of the uploader. You
+# basically need to build a multipart/form-data POST request with the
+# right fields and send it to https://PROJECT.googlecode.com/files .
+# Authenticate the request using HTTP Basic authentication, as is
+# shown below.
+#
+# Licensed under the terms of the Apache Software License 2.0:
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Questions, comments, feature requests and patches are most welcome.
+# Please direct all of these to the Google Code users group:
+# http://groups.google.com/group/google-code-hosting
+
+"""Google Code file uploader script.
+"""
+
+__author__ = 'danderson at google.com (David Anderson)'
+
+import httplib
+import os.path
+import optparse
+import getpass
+import base64
+import sys
+
+
+def upload(file, project_name, user_name, password, summary, labels=None):
+ """Upload a file to a Google Code project's file server.
+
+ Args:
+ file: The local path to the file.
+ project_name: The name of your project on Google Code.
+ user_name: Your Google account name.
+ password: The googlecode.com password for your account.
+ Note that this is NOT your global Google Account password!
+ summary: A small description for the file.
+ labels: an optional list of label strings with which to tag the file.
+
+ Returns: a tuple:
+ http_status: 201 if the upload succeeded, something else if an
+ error occured.
+ http_reason: The human-readable string associated with http_status
+ file_url: If the upload succeeded, the URL of the file on Google
+ Code, None otherwise.
+ """
+ # The login is the user part of user at gmail.com. If the login provided
+ # is in the full user at domain form, strip it down.
+ if user_name.endswith('@gmail.com'):
+ user_name = user_name[:user_name.index('@gmail.com')]
+
+ form_fields = [('summary', summary)]
+ if labels is not None:
+ form_fields.extend([('label', l.strip()) for l in labels])
+
+ content_type, body = encode_upload_request(form_fields, file)
+
+ upload_host = '%s.googlecode.com' % project_name
+ upload_uri = '/files'
+ auth_token = base64.b64encode('%s:%s'% (user_name, password))
+ headers = {
+ 'Authorization': 'Basic %s' % auth_token,
+ 'User-Agent': 'Googlecode.com uploader v0.9.4',
+ 'Content-Type': content_type,
+ }
+
+ server = httplib.HTTPSConnection(upload_host)
+ server.request('POST', upload_uri, body, headers)
+ resp = server.getresponse()
+ server.close()
+
+ if resp.status == 201:
+ location = resp.getheader('Location', None)
+ else:
+ location = None
+ return resp.status, resp.reason, location
+
+
+def encode_upload_request(fields, file_path):
+ """Encode the given fields and file into a multipart form body.
+
+ fields is a sequence of (name, value) pairs. file is the path of
+ the file to upload. The file will be uploaded to Google Code with
+ the same file name.
+
+ Returns: (content_type, body) ready for httplib.HTTP instance
+ """
+ BOUNDARY = '----------Googlecode_boundary_reindeer_flotilla'
+ CRLF = '\r\n'
+
+ body = []
+
+ # Add the metadata about the upload first
+ for key, value in fields:
+ body.extend(
+ ['--' + BOUNDARY,
+ 'Content-Disposition: form-data; name="%s"' % key,
+ '',
+ value,
+ ])
+
+ # Now add the file itself
+ file_name = os.path.basename(file_path)
+ f = open(file_path, 'rb')
+ file_content = f.read()
+ f.close()
+
+ body.extend(
+ ['--' + BOUNDARY,
+ 'Content-Disposition: form-data; name="filename"; filename="%s"'
+ % file_name,
+ # The upload server determines the mime-type, no need to set it.
+ 'Content-Type: application/octet-stream',
+ '',
+ file_content,
+ ])
+
+ # Finalize the form body
+ body.extend(['--' + BOUNDARY + '--', ''])
+
+ return 'multipart/form-data; boundary=%s' % BOUNDARY, CRLF.join(body)
+
+
+def upload_find_auth(file_path, project_name, summary, labels=None,
+ user_name=None, password=None, tries=3):
+ """Find credentials and upload a file to a Google Code project's file server.
+
+ file_path, project_name, summary, and labels are passed as-is to upload.
+
+ Args:
+ file_path: The local path to the file.
+ project_name: The name of your project on Google Code.
+ summary: A small description for the file.
+ labels: an optional list of label strings with which to tag the file.
+ config_dir: Path to Subversion configuration directory, 'none', or None.
+ user_name: Your Google account name.
+ tries: How many attempts to make.
+ """
+
+ while tries > 0:
+ if user_name is None:
+ # Read username if not specified or loaded from svn config, or on
+ # subsequent tries.
+ sys.stdout.write('Please enter your googlecode.com username: ')
+ sys.stdout.flush()
+ user_name = sys.stdin.readline().rstrip()
+ if password is None:
+ # Read password if not loaded from svn config, or on subsequent tries.
+ print 'Please enter your googlecode.com password.'
+ print '** Note that this is NOT your Gmail account password! **'
+ print 'It is the password you use to access Subversion repositories,'
+ print 'and can be found here: http://code.google.com/hosting/settings'
+ password = getpass.getpass()
+
+ status, reason, url = upload(file_path, project_name, user_name, password,
+ summary, labels)
+ # Returns 403 Forbidden instead of 401 Unauthorized for bad
+ # credentials as of 2007-07-17.
+ if status in [httplib.FORBIDDEN, httplib.UNAUTHORIZED]:
+ # Rest for another try.
+ user_name = password = None
+ tries = tries - 1
+ else:
+ # We're done.
+ break
+
+ return status, reason, url
+
+
+def main():
+ parser = optparse.OptionParser(usage='googlecode-upload.py -s SUMMARY '
+ '-p PROJECT [options] FILE')
+ parser.add_option('-s', '--summary', dest='summary',
+ help='Short description of the file')
+ parser.add_option('-p', '--project', dest='project',
+ help='Google Code project name')
+ parser.add_option('-u', '--user', dest='user',
+ help='Your Google Code username')
+ parser.add_option('-w', '--password', dest='password',
+ help='Your Google Code password')
+ parser.add_option('-l', '--labels', dest='labels',
+ help='An optional list of comma-separated labels to attach '
+ 'to the file')
+
+ options, args = parser.parse_args()
+
+ if not options.summary:
+ parser.error('File summary is missing.')
+ elif not options.project:
+ parser.error('Project name is missing.')
+ elif len(args) < 1:
+ parser.error('File to upload not provided.')
+ elif len(args) > 1:
+ parser.error('Only one file may be specified.')
+
+ file_path = args[0]
+
+ if options.labels:
+ labels = options.labels.split(',')
+ else:
+ labels = None
+
+ status, reason, url = upload_find_auth(file_path, options.project,
+ options.summary, labels,
+ options.user, options.password)
+ if url:
+ print 'The file was uploaded successfully.'
+ print 'URL: %s' % url
+ return 0
+ else:
+ print 'An error occurred. Your file was not uploaded.'
+ print 'Google Code upload server said: %s (%s)' % (reason, status)
+ return 1
+
+
+if __name__ == '__main__':
+ sys.exit(main())
diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index 9b561ff..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,297 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- <version>1.0.4.1</version>
- <name>Snappy for Java</name>
- <description>snappy-java: A fast compression/decompression library</description>
- <packaging>bundle</packaging>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <developers>
- <developer>
- <id>leo</id>
- <name>Taro L. Saito</name>
- <email>leo at xerial.org</email>
- <organization>Xerial Project</organization>
- <roles>
- <role>Architect</role>
- <role>Project Manager</role>
- <role>Chief Developer</role>
- </roles>
- <timezone>+9</timezone>
- </developer>
- </developers>
-
- <organization>
- <name>xerial.org</name>
- <url>http://www.xerial.org/</url>
- </organization>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>org/xerial/snappy/VERSION</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>org/xerial/snappy/*.bytecode</include>
- <include>org/xerial/snappy/native/**</include>
- </includes>
- </resource>
- <resource>
- <directory>${basedir}</directory>
- <targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath>
- <includes>
- <include>LICENSE*</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- <testResource>
- <directory>src/test/resources</directory>
- </testResource>
- </testResources>
-
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <!-- do not run site-deploy goal, included in the default settings -->
- <goals>deploy</goals>
- <connectionUrl>scm:hg:https://snappy-java.googlecode.com/hg/</connectionUrl>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <charset>UTF-8</charset>
- <locale>en_US</locale>
- <show>public</show>
- <stylesheetfile>stylesheet.css</stylesheetfile>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <configuration>
- <excludeResources>true</excludeResources>
- </configuration>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.4</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
- <Bundle-Name>${pproject.name}</Bundle-Name>
- <Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Activator>org.xerial.snappy.SnappyBundleActivator</Bundle-Activator>
- <Export-Package>org.xerial.snappy</Export-Package>
- </instructions>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/project.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <attach>false</attach>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ssh-external</artifactId>
- <version>1.0-beta-7</version>
- </extension>
- </extensions>
-
- </build>
-
-
- <url>http://code.google.com/p/snappy-java/</url>
- <issueManagement>
- <system>Google Code</system>
- <url>http://code.google.com/p/snappy-java/issues/list</url>
- </issueManagement>
- <inceptionYear>2011</inceptionYear>
- <scm>
- <connection>scm:hg:https://snappy-java.googlecode.com/hg/</connection>
- <developerConnection>scm:hg:default</developerConnection>
- <url>scm:hg:https://snappy-java.googlecode.com/hg/</url>
- </scm>
-
- <distributionManagement>
- <!-- for development releases -->
- <site>
- <id>xerial.scp</id>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site</url>
- </site>
- <repository>
- <id>xerial.scp</id>
- <name>Xerial Maven Repository</name>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact</url>
- </repository>
- <snapshotRepository>
- <id>xerial.scp</id>
- <name>Xerial Maven Snapshot Repository</name>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- </distributionManagement>
-
- <profiles>
- <!-- for directly sending artifacts to sourceforge.net repository -->
- <profile>
- <id>sourceforge</id>
- <distributionManagement>
- <repository>
- <id>xerial.sourceforge</id>
- <name>Xerial maven repository at sourceforge.jp</name>
- <url>scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release</url>
- </repository>
- </distributionManagement>
- </profile>
-
- <!-- for local updates -->
- <profile>
- <id>xerial.local</id>
- <distributionManagement>
- <repository>
- <id>xerial.local</id>
- <name>Xerial Maven Repository</name>
- <url>file:///home/web/maven.xerial.org/repository/artifact</url>
- </repository>
- <snapshotRepository>
- <id>xerial.local</id>
- <name>Xerial Maven Snapshot Repository</name>
- <url>file:///home/web/maven.xerial.org/repository/snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- <site>
- <id>xerial.local</id>
- <url>file:///home/web/maven.xerial.org/repository/site</url>
- </site>
- </distributionManagement>
- </profile>
- </profiles>
-
-
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-classworlds</artifactId>
- <version>2.4</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>core</artifactId>
- <version>4.3.0</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.xerial</groupId>
- <artifactId>xerial-core</artifactId>
- <version>1.0.21</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/pom.xml.releaseBackup b/pom.xml.releaseBackup
deleted file mode 100644
index af61c9d..0000000
--- a/pom.xml.releaseBackup
+++ /dev/null
@@ -1,297 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.xerial.snappy</groupId>
- <artifactId>snappy-java</artifactId>
- <version>1.0.4.1-SNAPSHOT</version>
- <name>Snappy for Java</name>
- <description>snappy-java: A fast compression/decompression library</description>
- <packaging>bundle</packaging>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <developers>
- <developer>
- <id>leo</id>
- <name>Taro L. Saito</name>
- <email>leo at xerial.org</email>
- <organization>Xerial Project</organization>
- <roles>
- <role>Architect</role>
- <role>Project Manager</role>
- <role>Chief Developer</role>
- </roles>
- <timezone>+9</timezone>
- </developer>
- </developers>
-
- <organization>
- <name>xerial.org</name>
- <url>http://www.xerial.org/</url>
- </organization>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>org/xerial/snappy/VERSION</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>org/xerial/snappy/*.bytecode</include>
- <include>org/xerial/snappy/native/**</include>
- </includes>
- </resource>
- <resource>
- <directory>${basedir}</directory>
- <targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath>
- <includes>
- <include>LICENSE*</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- <testResource>
- <directory>src/test/resources</directory>
- </testResource>
- </testResources>
-
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <!-- do not run site-deploy goal, included in the default settings -->
- <goals>deploy</goals>
- <connectionUrl>scm:hg:https://snappy-java.googlecode.com/hg/</connectionUrl>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <charset>UTF-8</charset>
- <locale>en_US</locale>
- <show>public</show>
- <stylesheetfile>stylesheet.css</stylesheetfile>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <configuration>
- <excludeResources>true</excludeResources>
- </configuration>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.4</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
- <Bundle-Name>${pproject.name}</Bundle-Name>
- <Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Activator>org.xerial.snappy.SnappyBundleActivator</Bundle-Activator>
- <Export-Package>org.xerial.snappy</Export-Package>
- </instructions>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/project.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <attach>false</attach>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ssh-external</artifactId>
- <version>1.0-beta-7</version>
- </extension>
- </extensions>
-
- </build>
-
-
- <url>http://code.google.com/p/snappy-java/</url>
- <issueManagement>
- <system>Google Code</system>
- <url>http://code.google.com/p/snappy-java/issues/list</url>
- </issueManagement>
- <inceptionYear>2011</inceptionYear>
- <scm>
- <connection>scm:hg:https://snappy-java.googlecode.com/hg/</connection>
- <developerConnection>scm:hg:default</developerConnection>
- <url>scm:hg:https://snappy-java.googlecode.com/hg/</url>
- </scm>
-
- <distributionManagement>
- <!-- for development releases -->
- <site>
- <id>xerial.scp</id>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site</url>
- </site>
- <repository>
- <id>xerial.scp</id>
- <name>Xerial Maven Repository</name>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact</url>
- </repository>
- <snapshotRepository>
- <id>xerial.scp</id>
- <name>Xerial Maven Snapshot Repository</name>
- <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- </distributionManagement>
-
- <profiles>
- <!-- for directly sending artifacts to sourceforge.net repository -->
- <profile>
- <id>sourceforge</id>
- <distributionManagement>
- <repository>
- <id>xerial.sourceforge</id>
- <name>Xerial maven repository at sourceforge.jp</name>
- <url>scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release</url>
- </repository>
- </distributionManagement>
- </profile>
-
- <!-- for local updates -->
- <profile>
- <id>xerial.local</id>
- <distributionManagement>
- <repository>
- <id>xerial.local</id>
- <name>Xerial Maven Repository</name>
- <url>file:///home/web/maven.xerial.org/repository/artifact</url>
- </repository>
- <snapshotRepository>
- <id>xerial.local</id>
- <name>Xerial Maven Snapshot Repository</name>
- <url>file:///home/web/maven.xerial.org/repository/snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- <site>
- <id>xerial.local</id>
- <url>file:///home/web/maven.xerial.org/repository/site</url>
- </site>
- </distributionManagement>
- </profile>
- </profiles>
-
-
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-classworlds</artifactId>
- <version>2.4</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>core</artifactId>
- <version>4.3.0</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.xerial</groupId>
- <artifactId>xerial-core</artifactId>
- <version>1.0.21</version>
- <type>jar</type>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/project/build.properties b/project/build.properties
new file mode 100755
index 0000000..005786e
--- /dev/null
+++ b/project/build.properties
@@ -0,0 +1,2 @@
+sbt.version=0.13.6
+
diff --git a/project/plugins.sbt b/project/plugins.sbt
new file mode 100755
index 0000000..609b225
--- /dev/null
+++ b/project/plugins.sbt
@@ -0,0 +1,12 @@
+
+addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.7.1")
+
+addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.1")
+
+addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
+
+addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.3.0")
+
+addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.5")
+
+addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0")
diff --git a/release.properties b/release.properties
deleted file mode 100644
index 2cb202d..0000000
--- a/release.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-#release configuration
-#Wed Oct 05 10:29:25 JST 2011
-project.scm.org.xerial.snappy\:snappy-java.tag=HEAD
-project.scm.org.xerial.snappy\:snappy-java.url=scm\:hg\:https\://snappy-java.googlecode.com/hg/
-project.dev.org.xerial.snappy\:snappy-java=1.0.4.2-SNAPSHOT
-scm.tag=snappy-java-1.0.4.1
-scm.url=scm\:hg\:default
-pushChanges=true
-preparationGoals=clean verify
-remoteTagging=true
-scm.commentPrefix=[maven-release-plugin]
-project.scm.org.xerial.snappy\:snappy-java.developerConnection=scm\:hg\:default
-project.scm.org.xerial.snappy\:snappy-java.connection=scm\:hg\:https\://snappy-java.googlecode.com/hg/
-project.rel.org.xerial.snappy\:snappy-java=1.0.4.1
-completedPhase=generate-release-poms
diff --git a/sbt b/sbt
new file mode 100755
index 0000000..e0343df
--- /dev/null
+++ b/sbt
@@ -0,0 +1,481 @@
+#!/usr/bin/env bash
+#
+# A more capable sbt runner, coincidentally also called sbt.
+# Author: Paul Phillips <paulp at typesafe.com>
+
+# todo - make this dynamic
+declare -r sbt_release_version="0.13.1"
+declare -r sbt_unreleased_version="0.13.2-SNAPSHOT" # -sbt-dev doesn't work at present
+declare -r buildProps="project/build.properties"
+
+declare sbt_jar sbt_dir sbt_create sbt_launch_dir
+declare scala_version java_home sbt_explicit_version
+declare verbose debug quiet noshare batch trace_level log_level
+declare sbt_saved_stty
+
+echoerr () { [[ -z "$quiet" ]] && echo "$@" >&2; }
+vlog () { [[ -n "$verbose$debug" ]] && echoerr "$@"; }
+dlog () { [[ -n "$debug" ]] && echoerr "$@"; }
+
+# we'd like these set before we get around to properly processing arguments
+for arg in "$@"; do
+ case "$arg" in
+ -q|-quiet) quiet=true ;;
+ -d|-debug) debug=true ;;
+ -v|-verbose) verbose=true ;;
+ *) ;;
+ esac
+done
+
+# spaces are possible, e.g. sbt.version = 0.13.0
+build_props_sbt () {
+ [[ -r "$buildProps" ]] && \
+ grep '^sbt\.version' "$buildProps" | tr '=' ' ' | awk '{ print $2; }'
+}
+
+update_build_props_sbt () {
+ local ver="$1"
+ local old="$(build_props_sbt)"
+
+ [[ -r "$buildProps" ]] && [[ "$ver" != "$old" ]] && {
+ perl -pi -e "s/^sbt\.version\b.*\$/sbt.version=${ver}/" "$buildProps"
+ grep -q '^sbt.version[ =]' "$buildProps" || printf "\nsbt.version=%s\n" "$ver" >> "$buildProps"
+
+ echoerr "!!!"
+ echoerr "!!! Updated file $buildProps setting sbt.version to: $ver"
+ echoerr "!!! Previous value was: $old"
+ echoerr "!!!"
+ }
+}
+
+sbt_version () {
+ if [[ -n "$sbt_explicit_version" ]]; then
+ echo "$sbt_explicit_version"
+ else
+ local v="$(build_props_sbt)"
+ if [[ -n "$v" ]]; then
+ echo "$v"
+ else
+ echo "$sbt_release_version"
+ fi
+ fi
+}
+
+# restore stty settings (echo in particular)
+onSbtRunnerExit() {
+ [[ -n "$sbt_saved_stty" ]] || return
+ dlog ""
+ dlog "restoring stty: $sbt_saved_stty"
+ stty "$sbt_saved_stty"
+ unset sbt_saved_stty
+}
+
+# save stty and trap exit, to ensure echo is reenabled if we are interrupted.
+trap onSbtRunnerExit EXIT
+sbt_saved_stty="$(stty -g 2>/dev/null)"
+dlog "Saved stty: $sbt_saved_stty"
+
+# this seems to cover the bases on OSX, and someone will
+# have to tell me about the others.
+get_script_path () {
+ local path="$1"
+ [[ -L "$path" ]] || { echo "$path" ; return; }
+
+ local target="$(readlink "$path")"
+ if [[ "${target:0:1}" == "/" ]]; then
+ echo "$target"
+ else
+ echo "${path%/*}/$target"
+ fi
+}
+
+die() {
+ echo "Aborting: $@"
+ exit 1
+}
+
+make_url () {
+ version="$1"
+
+ case "$version" in
+ 0.7.*) echo "http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.7.jar" ;;
+ 0.10.* ) echo "$sbt_launch_repo/org.scala-tools.sbt/sbt-launch/$version/sbt-launch.jar" ;;
+ 0.11.[12]) echo "$sbt_launch_repo/org.scala-tools.sbt/sbt-launch/$version/sbt-launch.jar" ;;
+ *) echo "$sbt_launch_repo/org.scala-sbt/sbt-launch/$version/sbt-launch.jar" ;;
+ esac
+}
+
+init_default_option_file () {
+ local overriding_var="${!1}"
+ local default_file="$2"
+ if [[ ! -r "$default_file" && "$overriding_var" =~ ^@(.*)$ ]]; then
+ local envvar_file="${BASH_REMATCH[1]}"
+ if [[ -r "$envvar_file" ]]; then
+ default_file="$envvar_file"
+ fi
+ fi
+ echo "$default_file"
+}
+
+declare -r cms_opts="-XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"
+declare -r jit_opts="-XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation"
+declare -r default_jvm_opts="-Dfile.encoding=UTF8 -XX:MaxPermSize=384m -Xms512m -Xmx1536m -Xss2m $jit_opts $cms_opts"
+declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
+declare -r latest_28="2.8.2"
+declare -r latest_29="2.9.3"
+declare -r latest_210="2.10.3"
+declare -r latest_211="2.11.0-M5"
+
+declare -r script_path="$(get_script_path "$BASH_SOURCE")"
+declare -r script_name="${script_path##*/}"
+
+# some non-read-onlies set with defaults
+declare java_cmd="java"
+declare sbt_opts_file="$(init_default_option_file SBT_OPTS .sbtopts)"
+declare jvm_opts_file="$(init_default_option_file JVM_OPTS .jvmopts)"
+declare sbt_launch_repo="http://typesafe.artifactoryonline.com/typesafe/ivy-releases"
+
+# pull -J and -D options to give to java.
+declare -a residual_args
+declare -a java_args
+declare -a scalac_args
+declare -a sbt_commands
+
+# args to jvm/sbt via files or environment variables
+declare -a extra_jvm_opts extra_sbt_opts
+
+# if set, use JAVA_HOME over java found in path
+[[ -e "$JAVA_HOME/bin/java" ]] && java_cmd="$JAVA_HOME/bin/java"
+
+# directory to store sbt launchers
+declare sbt_launch_dir="$HOME/.sbt/launchers"
+[[ -d "$sbt_launch_dir" ]] || mkdir -p "$sbt_launch_dir"
+[[ -w "$sbt_launch_dir" ]] || sbt_launch_dir="$(mktemp -d -t sbt_extras_launchers.XXXXXX)"
+
+build_props_scala () {
+ if [[ -r "$buildProps" ]]; then
+ versionLine="$(grep '^build.scala.versions' "$buildProps")"
+ versionString="${versionLine##build.scala.versions=}"
+ echo "${versionString%% .*}"
+ fi
+}
+
+execRunner () {
+ # print the arguments one to a line, quoting any containing spaces
+ [[ "$verbose" || "$debug" ]] && echo "# Executing command line:" && {
+ for arg; do
+ if [[ -n "$arg" ]]; then
+ if printf "%s\n" "$arg" | grep -q ' '; then
+ printf "\"%s\"\n" "$arg"
+ else
+ printf "%s\n" "$arg"
+ fi
+ fi
+ done
+ echo ""
+ }
+
+ if [[ -n "$batch" ]]; then
+ exec </dev/null
+ fi
+ exec "$@"
+}
+
+jar_url () {
+ make_url "$1"
+}
+
+jar_file () {
+ echo "$sbt_launch_dir/$1/sbt-launch.jar"
+}
+
+download_url () {
+ local url="$1"
+ local jar="$2"
+
+ echo "Downloading sbt launcher for $(sbt_version):"
+ echo " From $url"
+ echo " To $jar"
+
+ mkdir -p "${jar%/*}" && {
+ if which curl >/dev/null; then
+ curl --fail --silent "$url" --output "$jar"
+ elif which wget >/dev/null; then
+ wget --quiet -O "$jar" "$url"
+ fi
+ } && [[ -r "$jar" ]]
+}
+
+acquire_sbt_jar () {
+ for_sbt_version="$(sbt_version)"
+ sbt_url="$(jar_url "$for_sbt_version")"
+ sbt_jar="$(jar_file "$for_sbt_version")"
+
+ [[ -r "$sbt_jar" ]] || download_url "$sbt_url" "$sbt_jar"
+}
+
+usage () {
+ cat <<EOM
+Usage: $script_name [options]
+
+ -h | -help print this message
+ -v | -verbose this runner is chattier
+ -d | -debug set sbt log level to Debug
+ -q | -quiet set sbt log level to Error
+ -trace <level> display stack traces with a max of <level> frames (default: -1, traces suppressed)
+ -no-colors disable ANSI color codes
+ -sbt-create start sbt even if current directory contains no sbt project
+ -sbt-dir <path> path to global settings/plugins directory (default: ~/.sbt/<version>)
+ -sbt-boot <path> path to shared boot directory (default: ~/.sbt/boot in 0.11+)
+ -ivy <path> path to local Ivy repository (default: ~/.ivy2)
+ -no-share use all local caches; no sharing
+ -offline put sbt in offline mode
+ -jvm-debug <port> Turn on JVM debugging, open at the given port.
+ -batch Disable interactive mode
+ -prompt <expr> Set the sbt prompt; in expr, 's' is the State and 'e' is Extracted
+
+ # sbt version (default: from $buildProps if present, else latest release)
+ !!! The only way to accomplish this pre-0.12.0 if there is a build.properties file which
+ !!! contains an sbt.version property is to update the file on disk. That's what this does.
+ -sbt-version <version> use the specified version of sbt (default: $sbt_release_version)
+ -sbt-jar <path> use the specified jar as the sbt launcher
+ -sbt-launch-dir <path> directory to hold sbt launchers (default: $sbt_launch_dir)
+ -sbt-launch-repo <url> repo url for downloading sbt launcher jar (default: $sbt_launch_repo)
+
+ # scala version (default: as chosen by sbt)
+ -28 use $latest_28
+ -29 use $latest_29
+ -210 use $latest_210
+ -211 use $latest_211
+ -scala-home <path> use the scala build at the specified directory
+ -scala-version <version> use the specified version of scala
+ -binary-version <version> use the specified scala version when searching for dependencies
+
+ # java version (default: java from PATH, currently $(java -version 2>&1 | grep version))
+ -java-home <path> alternate JAVA_HOME
+
+ # passing options to the jvm - note it does NOT use JAVA_OPTS due to pollution
+ # The default set is used if JVM_OPTS is unset and no -jvm-opts file is found
+ <default> $default_jvm_opts
+ JVM_OPTS environment variable holding either the jvm args directly, or
+ the reference to a file containing jvm args if given path is prepended by '@' (e.g. '@/etc/jvmopts')
+ Note: "@"-file is overridden by local '.jvmopts' or '-jvm-opts' argument.
+ -jvm-opts <path> file containing jvm args (if not given, .jvmopts in project root is used if present)
+ -Dkey=val pass -Dkey=val directly to the jvm
+ -J-X pass option -X directly to the jvm (-J is stripped)
+
+ # passing options to sbt, OR to this runner
+ SBT_OPTS environment variable holding either the sbt args directly, or
+ the reference to a file containing sbt args if given path is prepended by '@' (e.g. '@/etc/sbtopts')
+ Note: "@"-file is overridden by local '.sbtopts' or '-sbt-opts' argument.
+ -sbt-opts <path> file containing sbt args (if not given, .sbtopts in project root is used if present)
+ -S-X add -X to sbt's scalacOptions (-S is stripped)
+EOM
+}
+
+addJava () {
+ dlog "[addJava] arg = '$1'"
+ java_args=( "${java_args[@]}" "$1" )
+}
+addSbt () {
+ dlog "[addSbt] arg = '$1'"
+ sbt_commands=( "${sbt_commands[@]}" "$1" )
+}
+addScalac () {
+ dlog "[addScalac] arg = '$1'"
+ scalac_args=( "${scalac_args[@]}" "$1" )
+}
+addResidual () {
+ dlog "[residual] arg = '$1'"
+ residual_args=( "${residual_args[@]}" "$1" )
+}
+addResolver () {
+ addSbt "set resolvers += $1"
+}
+addDebugger () {
+ addJava "-Xdebug"
+ addJava "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$1"
+}
+setScalaVersion () {
+ [[ "$1" == *"-SNAPSHOT" ]] && addResolver 'Resolver.sonatypeRepo("snapshots")'
+ addSbt "++ $1"
+}
+
+process_args ()
+{
+ require_arg () {
+ local type="$1"
+ local opt="$2"
+ local arg="$3"
+
+ if [[ -z "$arg" ]] || [[ "${arg:0:1}" == "-" ]]; then
+ die "$opt requires <$type> argument"
+ fi
+ }
+ while [[ $# -gt 0 ]]; do
+ case "$1" in
+ -h|-help) usage; exit 1 ;;
+ -v|-verbose) verbose=true && log_level=Info && shift ;;
+ -d|-debug) debug=true && log_level=Debug && shift ;;
+ -q|-quiet) quiet=true && log_level=Error && shift ;;
+
+ -trace) require_arg integer "$1" "$2" && trace_level="$2" && shift 2 ;;
+ -ivy) require_arg path "$1" "$2" && addJava "-Dsbt.ivy.home=$2" && shift 2 ;;
+ -no-colors) addJava "-Dsbt.log.noformat=true" && shift ;;
+ -no-share) noshare=true && shift ;;
+ -sbt-boot) require_arg path "$1" "$2" && addJava "-Dsbt.boot.directory=$2" && shift 2 ;;
+ -sbt-dir) require_arg path "$1" "$2" && sbt_dir="$2" && shift 2 ;;
+ -debug-inc) addJava "-Dxsbt.inc.debug=true" && shift ;;
+ -offline) addSbt "set offline := true" && shift ;;
+ -jvm-debug) require_arg port "$1" "$2" && addDebugger "$2" && shift 2 ;;
+ -batch) batch=true && shift ;;
+ -prompt) require_arg "expr" "$1" "$2" && addSbt "set shellPrompt in ThisBuild := (s => { val e = Project.extract(s) ; $2 })" && shift 2 ;;
+
+ -sbt-create) sbt_create=true && shift ;;
+ -sbt-jar) require_arg path "$1" "$2" && sbt_jar="$2" && shift 2 ;;
+ -sbt-version) require_arg version "$1" "$2" && sbt_explicit_version="$2" && shift 2 ;;
+ -sbt-dev) sbt_explicit_version="$sbt_unreleased_version" && shift ;;
+-sbt-launch-dir) require_arg path "$1" "$2" && sbt_launch_dir="$2" && shift 2 ;;
+-sbt-launch-repo) require_arg path "$1" "$2" && sbt_launch_repo="$2" && shift 2 ;;
+ -scala-version) require_arg version "$1" "$2" && setScalaVersion "$2" && shift 2 ;;
+-binary-version) require_arg version "$1" "$2" && addSbt "set scalaBinaryVersion in ThisBuild := \"$2\"" && shift 2 ;;
+ -scala-home) require_arg path "$1" "$2" && addSbt "set every scalaHome := Some(file(\"$2\"))" && shift 2 ;;
+ -java-home) require_arg path "$1" "$2" && java_cmd="$2/bin/java" && shift 2 ;;
+ -sbt-opts) require_arg path "$1" "$2" && sbt_opts_file="$2" && shift 2 ;;
+ -jvm-opts) require_arg path "$1" "$2" && jvm_opts_file="$2" && shift 2 ;;
+
+ -D*) addJava "$1" && shift ;;
+ -J*) addJava "${1:2}" && shift ;;
+ -S*) addScalac "${1:2}" && shift ;;
+ -28) setScalaVersion "$latest_28" && shift ;;
+ -29) setScalaVersion "$latest_29" && shift ;;
+ -210) setScalaVersion "$latest_210" && shift ;;
+ -211) setScalaVersion "$latest_211" && shift ;;
+
+ *) addResidual "$1" && shift ;;
+ esac
+ done
+}
+
+# process the direct command line arguments
+process_args "$@"
+
+# skip #-styled comments and blank lines
+readConfigFile() {
+ while read line; do
+ [[ $line =~ ^# ]] || [[ -z $line ]] || echo "$line"
+ done < "$1"
+}
+
+# if there are file/environment sbt_opts, process again so we
+# can supply args to this runner
+if [[ -r "$sbt_opts_file" ]]; then
+ vlog "Using sbt options defined in file $sbt_opts_file"
+ while read opt; do extra_sbt_opts+=("$opt"); done < <(readConfigFile "$sbt_opts_file")
+elif [[ -n "$SBT_OPTS" && ! ("$SBT_OPTS" =~ ^@.*) ]]; then
+ vlog "Using sbt options defined in variable \$SBT_OPTS"
+ extra_sbt_opts=( $SBT_OPTS )
+else
+ vlog "No extra sbt options have been defined"
+fi
+
+[[ -n "$extra_sbt_opts" ]] && process_args "${extra_sbt_opts[@]}"
+
+# reset "$@" to the residual args
+set -- "${residual_args[@]}"
+argumentCount=$#
+
+# only exists in 0.12+
+setTraceLevel() {
+ case "$(sbt_version)" in
+ "0.7."* | "0.10."* | "0.11."* )
+ echoerr "Cannot set trace level in sbt version $(sbt_version)"
+ ;;
+ *)
+ addSbt "set every traceLevel := $trace_level"
+ ;;
+ esac
+}
+
+# set scalacOptions if we were given any -S opts
+[[ ${#scalac_args[@]} -eq 0 ]] || addSbt "set scalacOptions in ThisBuild += \"${scalac_args[@]}\""
+
+# Update build.properties on disk to set explicit version - sbt gives us no choice
+[[ -n "$sbt_explicit_version" ]] && update_build_props_sbt "$sbt_explicit_version"
+vlog "Detected sbt version $(sbt_version)"
+
+[[ -n "$scala_version" ]] && echoerr "Overriding scala version to $scala_version"
+
+# no args - alert them there's stuff in here
+(( argumentCount > 0 )) || {
+ vlog "Starting $script_name: invoke with -help for other options"
+ residual_args=( shell )
+}
+
+# verify this is an sbt dir or -create was given
+[[ -r ./build.sbt || -d ./project || -n "$sbt_create" ]] || {
+ cat <<EOM
+$(pwd) doesn't appear to be an sbt project.
+If you want to start sbt anyway, run:
+ $0 -sbt-create
+
+EOM
+ exit 1
+}
+
+# pick up completion if present; todo
+[[ -r .sbt_completion.sh ]] && source .sbt_completion.sh
+
+# no jar? download it.
+[[ -r "$sbt_jar" ]] || acquire_sbt_jar || {
+ # still no jar? uh-oh.
+ echo "Download failed. Obtain the jar manually and place it at $sbt_jar"
+ exit 1
+}
+
+if [[ -n "$noshare" ]]; then
+ for opt in ${noshare_opts}; do
+ addJava "$opt"
+ done
+else
+ case "$(sbt_version)" in
+ "0.7."* | "0.10."* | "0.11."* | "0.12."* )
+ [[ -n "$sbt_dir" ]] || {
+ sbt_dir="$HOME/.sbt/$(sbt_version)"
+ vlog "Using $sbt_dir as sbt dir, -sbt-dir to override."
+ }
+ ;;
+ esac
+
+ if [[ -n "$sbt_dir" ]]; then
+ addJava "-Dsbt.global.base=$sbt_dir"
+ fi
+fi
+
+if [[ -r "$jvm_opts_file" ]]; then
+ vlog "Using jvm options defined in file $jvm_opts_file"
+ while read opt; do extra_jvm_opts+=("$opt"); done < <(readConfigFile "$jvm_opts_file")
+elif [[ -n "$JVM_OPTS" && ! ("$JVM_OPTS" =~ ^@.*) ]]; then
+ vlog "Using jvm options defined in \$JVM_OPTS variable"
+ extra_jvm_opts=( $JVM_OPTS )
+else
+ vlog "Using default jvm options"
+ extra_jvm_opts=( $default_jvm_opts )
+fi
+
+# traceLevel is 0.12+
+[[ -n "$trace_level" ]] && setTraceLevel
+
+
+if [[ -n "$log_level" ]] && [[ "$log_level" != Info ]]; then
+ sbt_commands=("set logLevel in Global := Level.$log_level" "${sbt_commands[@]}")
+fi
+
+
+# run sbt
+execRunner "$java_cmd" \
+ "${extra_jvm_opts[@]}" \
+ "${java_args[@]}" \
+ -jar "$sbt_jar" \
+ "${sbt_commands[@]}" \
+ "${residual_args[@]}"
diff --git a/src/main/java/org/xerial/snappy/OSInfo.java b/src/main/java/org/xerial/snappy/OSInfo.java
old mode 100644
new mode 100755
index 81f17c8..1ed7a84
--- a/src/main/java/org/xerial/snappy/OSInfo.java
+++ b/src/main/java/org/xerial/snappy/OSInfo.java
@@ -24,6 +24,10 @@
//--------------------------------------
package org.xerial.snappy;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Locale;
+
/**
* Provides OS name and architecture name.
*
@@ -32,6 +36,54 @@ package org.xerial.snappy;
*/
public class OSInfo
{
+ private static HashMap<String, String> archMapping = new HashMap<String, String>();
+
+ public static final String X86 = "x86";
+ public static final String X86_64 = "x86_64";
+ public static final String IA64_32 = "ia64_32";
+ public static final String IA64 = "ia64";
+ public static final String PPC = "ppc";
+ public static final String PPC64 = "ppc64";
+
+ static {
+ // x86 mappings
+ archMapping.put(X86, X86);
+ archMapping.put("i386", X86);
+ archMapping.put("i486", X86);
+ archMapping.put("i586", X86);
+ archMapping.put("i686", X86);
+ archMapping.put("pentium", X86);
+
+ // x86_64 mappings
+ archMapping.put(X86_64, X86_64);
+ archMapping.put("amd64", X86_64);
+ archMapping.put("em64t", X86_64);
+ archMapping.put("universal", X86_64); // Needed for openjdk7 in Mac
+
+ // Itenium 64-bit mappings
+ archMapping.put(IA64, IA64);
+ archMapping.put("ia64w", IA64);
+
+ // Itenium 32-bit mappings, usually an HP-UX construct
+ archMapping.put(IA64_32, IA64_32);
+ archMapping.put("ia64n", IA64_32);
+
+ // PowerPC mappings
+ archMapping.put(PPC, PPC);
+ archMapping.put("power", PPC);
+ archMapping.put("powerpc", PPC);
+ archMapping.put("power_pc", PPC);
+ archMapping.put("power_rs", PPC);
+
+ // TODO: PowerPC 64bit mappings
+ archMapping.put(PPC64, PPC64);
+ archMapping.put("power64", PPC64);
+ archMapping.put("powerpc64", PPC64);
+ archMapping.put("power_pc64", PPC64);
+ archMapping.put("power_rs64", PPC64);
+ }
+
+
public static void main(String[] args) {
if (args.length >= 1) {
if ("--os".equals(args[0])) {
@@ -56,10 +108,35 @@ public class OSInfo
}
public static String getArchName() {
- return translateArchNameToFolderName(System.getProperty("os.arch"));
+ // if running Linux on ARM, need to determine ABI of JVM
+ String osArch = System.getProperty("os.arch");
+ if (osArch.startsWith("arm") && System.getProperty("os.name").contains("Linux")) {
+ String javaHome = System.getProperty("java.home");
+ try {
+ // determine if first JVM found uses ARM hard-float ABI
+ String[] cmdarray = { "/bin/sh", "-c", "find '" + javaHome +
+ "' -name 'libjvm.so' | head -1 | xargs readelf -A | " +
+ "grep 'Tag_ABI_VFP_args: VFP registers'" };
+ int exitCode = Runtime.getRuntime().exec(cmdarray).waitFor();
+ if (exitCode == 0)
+ return "armhf";
+ }
+ catch (IOException e) {
+ // ignored: fall back to "arm" arch (soft-float ABI)
+ }
+ catch (InterruptedException e) {
+ // ignored: fall back to "arm" arch (soft-float ABI)
+ }
+ }
+ else {
+ String lc = osArch.toLowerCase(Locale.US);
+ if(archMapping.containsKey(lc))
+ return archMapping.get(lc);
+ }
+ return translateArchNameToFolderName(osArch);
}
- public static String translateOSNameToFolderName(String osName) {
+ static String translateOSNameToFolderName(String osName) {
if (osName.contains("Windows")) {
return "Windows";
}
@@ -69,12 +146,16 @@ public class OSInfo
else if (osName.contains("Linux")) {
return "Linux";
}
- else {
+ else if (osName.contains("AIX")) {
+ return "AIX";
+ }
+
+ else {
return osName.replaceAll("\\W", "");
}
}
- public static String translateArchNameToFolderName(String archName) {
+ static String translateArchNameToFolderName(String archName) {
return archName.replaceAll("\\W", "");
}
}
diff --git a/src/main/java/org/xerial/snappy/PureJavaCrc32C.java b/src/main/java/org/xerial/snappy/PureJavaCrc32C.java
new file mode 100644
index 0000000..fec20eb
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/PureJavaCrc32C.java
@@ -0,0 +1,617 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Some portions of this file Copyright (c) 2004-2006 Intel Corportation
+ * and licensed under the BSD license.
+ */
+package org.xerial.snappy;
+
+import java.util.zip.Checksum;
+
+/**
+ * A pure-java implementation of the CRC32 checksum that uses
+ * the CRC32-C polynomial, the same polynomial used by iSCSI
+ * and implemented on many Intel chipsets supporting SSE4.2.
+ */
+public class PureJavaCrc32C implements Checksum {
+
+ /** the current CRC value, bit-flipped */
+ private int crc;
+
+ /** Create a new PureJavaCrc32 object. */
+ public PureJavaCrc32C() {
+ reset();
+ }
+
+ public int getIntegerValue() {
+ return ~crc;
+ }
+
+ /** {@inheritDoc} */
+ public long getValue() {
+ long ret = crc;
+ return (~ret) & 0xffffffffL;
+ }
+
+ /** {@inheritDoc} */
+ public void reset() {
+ crc = 0xffffffff;
+ }
+
+ /** {@inheritDoc} */
+ public void update(byte[] b, int off, int len) {
+ int localCrc = crc;
+ while(len > 7) {
+ int c0 = b[off++] ^ localCrc;
+ int c1 = b[off++] ^ (localCrc >>>= 8);
+ int c2 = b[off++] ^ (localCrc >>>= 8);
+ int c3 = b[off++] ^ (localCrc >>>= 8);
+ localCrc = (T8_7[c0 & 0xff] ^ T8_6[c1 & 0xff])
+ ^ (T8_5[c2 & 0xff] ^ T8_4[c3 & 0xff]);
+
+ localCrc ^= (T8_3[b[off++] & 0xff] ^ T8_2[b[off++] & 0xff])
+ ^ (T8_1[b[off++] & 0xff] ^ T8_0[b[off++] & 0xff]);
+
+ len -= 8;
+ }
+ while(len > 0) {
+ localCrc = (localCrc >>> 8) ^ T8_0[(localCrc ^ b[off++]) & 0xff];
+ len--;
+ }
+
+ // Publish crc out to object
+ crc = localCrc;
+ }
+
+ /** {@inheritDoc} */
+ final public void update(int b) {
+ crc = (crc >>> 8) ^ T8_0[(crc ^ b) & 0xff];
+ }
+
+ // CRC polynomial tables generated by:
+ // java -cp build/test/classes/:build/classes/ \
+ // org.apache.hadoop.util.TestPureJavaCrc32\$Table 82F63B78
+
+ static final int[] T8_0 = new int[] {
+ 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4,
+ 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB,
+ 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B,
+ 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24,
+ 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B,
+ 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384,
+ 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54,
+ 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B,
+ 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A,
+ 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35,
+ 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5,
+ 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA,
+ 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45,
+ 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A,
+ 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A,
+ 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595,
+ 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48,
+ 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957,
+ 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687,
+ 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198,
+ 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927,
+ 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38,
+ 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8,
+ 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7,
+ 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096,
+ 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789,
+ 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859,
+ 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46,
+ 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9,
+ 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6,
+ 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36,
+ 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829,
+ 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C,
+ 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93,
+ 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043,
+ 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C,
+ 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3,
+ 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC,
+ 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C,
+ 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033,
+ 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652,
+ 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D,
+ 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D,
+ 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982,
+ 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D,
+ 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622,
+ 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2,
+ 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED,
+ 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530,
+ 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F,
+ 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF,
+ 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0,
+ 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F,
+ 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540,
+ 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90,
+ 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F,
+ 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE,
+ 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1,
+ 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321,
+ 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E,
+ 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81,
+ 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E,
+ 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E,
+ 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351
+ };
+ static final int[] T8_1 = new int[] {
+ 0x00000000, 0x13A29877, 0x274530EE, 0x34E7A899,
+ 0x4E8A61DC, 0x5D28F9AB, 0x69CF5132, 0x7A6DC945,
+ 0x9D14C3B8, 0x8EB65BCF, 0xBA51F356, 0xA9F36B21,
+ 0xD39EA264, 0xC03C3A13, 0xF4DB928A, 0xE7790AFD,
+ 0x3FC5F181, 0x2C6769F6, 0x1880C16F, 0x0B225918,
+ 0x714F905D, 0x62ED082A, 0x560AA0B3, 0x45A838C4,
+ 0xA2D13239, 0xB173AA4E, 0x859402D7, 0x96369AA0,
+ 0xEC5B53E5, 0xFFF9CB92, 0xCB1E630B, 0xD8BCFB7C,
+ 0x7F8BE302, 0x6C297B75, 0x58CED3EC, 0x4B6C4B9B,
+ 0x310182DE, 0x22A31AA9, 0x1644B230, 0x05E62A47,
+ 0xE29F20BA, 0xF13DB8CD, 0xC5DA1054, 0xD6788823,
+ 0xAC154166, 0xBFB7D911, 0x8B507188, 0x98F2E9FF,
+ 0x404E1283, 0x53EC8AF4, 0x670B226D, 0x74A9BA1A,
+ 0x0EC4735F, 0x1D66EB28, 0x298143B1, 0x3A23DBC6,
+ 0xDD5AD13B, 0xCEF8494C, 0xFA1FE1D5, 0xE9BD79A2,
+ 0x93D0B0E7, 0x80722890, 0xB4958009, 0xA737187E,
+ 0xFF17C604, 0xECB55E73, 0xD852F6EA, 0xCBF06E9D,
+ 0xB19DA7D8, 0xA23F3FAF, 0x96D89736, 0x857A0F41,
+ 0x620305BC, 0x71A19DCB, 0x45463552, 0x56E4AD25,
+ 0x2C896460, 0x3F2BFC17, 0x0BCC548E, 0x186ECCF9,
+ 0xC0D23785, 0xD370AFF2, 0xE797076B, 0xF4359F1C,
+ 0x8E585659, 0x9DFACE2E, 0xA91D66B7, 0xBABFFEC0,
+ 0x5DC6F43D, 0x4E646C4A, 0x7A83C4D3, 0x69215CA4,
+ 0x134C95E1, 0x00EE0D96, 0x3409A50F, 0x27AB3D78,
+ 0x809C2506, 0x933EBD71, 0xA7D915E8, 0xB47B8D9F,
+ 0xCE1644DA, 0xDDB4DCAD, 0xE9537434, 0xFAF1EC43,
+ 0x1D88E6BE, 0x0E2A7EC9, 0x3ACDD650, 0x296F4E27,
+ 0x53028762, 0x40A01F15, 0x7447B78C, 0x67E52FFB,
+ 0xBF59D487, 0xACFB4CF0, 0x981CE469, 0x8BBE7C1E,
+ 0xF1D3B55B, 0xE2712D2C, 0xD69685B5, 0xC5341DC2,
+ 0x224D173F, 0x31EF8F48, 0x050827D1, 0x16AABFA6,
+ 0x6CC776E3, 0x7F65EE94, 0x4B82460D, 0x5820DE7A,
+ 0xFBC3FAF9, 0xE861628E, 0xDC86CA17, 0xCF245260,
+ 0xB5499B25, 0xA6EB0352, 0x920CABCB, 0x81AE33BC,
+ 0x66D73941, 0x7575A136, 0x419209AF, 0x523091D8,
+ 0x285D589D, 0x3BFFC0EA, 0x0F186873, 0x1CBAF004,
+ 0xC4060B78, 0xD7A4930F, 0xE3433B96, 0xF0E1A3E1,
+ 0x8A8C6AA4, 0x992EF2D3, 0xADC95A4A, 0xBE6BC23D,
+ 0x5912C8C0, 0x4AB050B7, 0x7E57F82E, 0x6DF56059,
+ 0x1798A91C, 0x043A316B, 0x30DD99F2, 0x237F0185,
+ 0x844819FB, 0x97EA818C, 0xA30D2915, 0xB0AFB162,
+ 0xCAC27827, 0xD960E050, 0xED8748C9, 0xFE25D0BE,
+ 0x195CDA43, 0x0AFE4234, 0x3E19EAAD, 0x2DBB72DA,
+ 0x57D6BB9F, 0x447423E8, 0x70938B71, 0x63311306,
+ 0xBB8DE87A, 0xA82F700D, 0x9CC8D894, 0x8F6A40E3,
+ 0xF50789A6, 0xE6A511D1, 0xD242B948, 0xC1E0213F,
+ 0x26992BC2, 0x353BB3B5, 0x01DC1B2C, 0x127E835B,
+ 0x68134A1E, 0x7BB1D269, 0x4F567AF0, 0x5CF4E287,
+ 0x04D43CFD, 0x1776A48A, 0x23910C13, 0x30339464,
+ 0x4A5E5D21, 0x59FCC556, 0x6D1B6DCF, 0x7EB9F5B8,
+ 0x99C0FF45, 0x8A626732, 0xBE85CFAB, 0xAD2757DC,
+ 0xD74A9E99, 0xC4E806EE, 0xF00FAE77, 0xE3AD3600,
+ 0x3B11CD7C, 0x28B3550B, 0x1C54FD92, 0x0FF665E5,
+ 0x759BACA0, 0x663934D7, 0x52DE9C4E, 0x417C0439,
+ 0xA6050EC4, 0xB5A796B3, 0x81403E2A, 0x92E2A65D,
+ 0xE88F6F18, 0xFB2DF76F, 0xCFCA5FF6, 0xDC68C781,
+ 0x7B5FDFFF, 0x68FD4788, 0x5C1AEF11, 0x4FB87766,
+ 0x35D5BE23, 0x26772654, 0x12908ECD, 0x013216BA,
+ 0xE64B1C47, 0xF5E98430, 0xC10E2CA9, 0xD2ACB4DE,
+ 0xA8C17D9B, 0xBB63E5EC, 0x8F844D75, 0x9C26D502,
+ 0x449A2E7E, 0x5738B609, 0x63DF1E90, 0x707D86E7,
+ 0x0A104FA2, 0x19B2D7D5, 0x2D557F4C, 0x3EF7E73B,
+ 0xD98EEDC6, 0xCA2C75B1, 0xFECBDD28, 0xED69455F,
+ 0x97048C1A, 0x84A6146D, 0xB041BCF4, 0xA3E32483
+ };
+ static final int[] T8_2 = new int[] {
+ 0x00000000, 0xA541927E, 0x4F6F520D, 0xEA2EC073,
+ 0x9EDEA41A, 0x3B9F3664, 0xD1B1F617, 0x74F06469,
+ 0x38513EC5, 0x9D10ACBB, 0x773E6CC8, 0xD27FFEB6,
+ 0xA68F9ADF, 0x03CE08A1, 0xE9E0C8D2, 0x4CA15AAC,
+ 0x70A27D8A, 0xD5E3EFF4, 0x3FCD2F87, 0x9A8CBDF9,
+ 0xEE7CD990, 0x4B3D4BEE, 0xA1138B9D, 0x045219E3,
+ 0x48F3434F, 0xEDB2D131, 0x079C1142, 0xA2DD833C,
+ 0xD62DE755, 0x736C752B, 0x9942B558, 0x3C032726,
+ 0xE144FB14, 0x4405696A, 0xAE2BA919, 0x0B6A3B67,
+ 0x7F9A5F0E, 0xDADBCD70, 0x30F50D03, 0x95B49F7D,
+ 0xD915C5D1, 0x7C5457AF, 0x967A97DC, 0x333B05A2,
+ 0x47CB61CB, 0xE28AF3B5, 0x08A433C6, 0xADE5A1B8,
+ 0x91E6869E, 0x34A714E0, 0xDE89D493, 0x7BC846ED,
+ 0x0F382284, 0xAA79B0FA, 0x40577089, 0xE516E2F7,
+ 0xA9B7B85B, 0x0CF62A25, 0xE6D8EA56, 0x43997828,
+ 0x37691C41, 0x92288E3F, 0x78064E4C, 0xDD47DC32,
+ 0xC76580D9, 0x622412A7, 0x880AD2D4, 0x2D4B40AA,
+ 0x59BB24C3, 0xFCFAB6BD, 0x16D476CE, 0xB395E4B0,
+ 0xFF34BE1C, 0x5A752C62, 0xB05BEC11, 0x151A7E6F,
+ 0x61EA1A06, 0xC4AB8878, 0x2E85480B, 0x8BC4DA75,
+ 0xB7C7FD53, 0x12866F2D, 0xF8A8AF5E, 0x5DE93D20,
+ 0x29195949, 0x8C58CB37, 0x66760B44, 0xC337993A,
+ 0x8F96C396, 0x2AD751E8, 0xC0F9919B, 0x65B803E5,
+ 0x1148678C, 0xB409F5F2, 0x5E273581, 0xFB66A7FF,
+ 0x26217BCD, 0x8360E9B3, 0x694E29C0, 0xCC0FBBBE,
+ 0xB8FFDFD7, 0x1DBE4DA9, 0xF7908DDA, 0x52D11FA4,
+ 0x1E704508, 0xBB31D776, 0x511F1705, 0xF45E857B,
+ 0x80AEE112, 0x25EF736C, 0xCFC1B31F, 0x6A802161,
+ 0x56830647, 0xF3C29439, 0x19EC544A, 0xBCADC634,
+ 0xC85DA25D, 0x6D1C3023, 0x8732F050, 0x2273622E,
+ 0x6ED23882, 0xCB93AAFC, 0x21BD6A8F, 0x84FCF8F1,
+ 0xF00C9C98, 0x554D0EE6, 0xBF63CE95, 0x1A225CEB,
+ 0x8B277743, 0x2E66E53D, 0xC448254E, 0x6109B730,
+ 0x15F9D359, 0xB0B84127, 0x5A968154, 0xFFD7132A,
+ 0xB3764986, 0x1637DBF8, 0xFC191B8B, 0x595889F5,
+ 0x2DA8ED9C, 0x88E97FE2, 0x62C7BF91, 0xC7862DEF,
+ 0xFB850AC9, 0x5EC498B7, 0xB4EA58C4, 0x11ABCABA,
+ 0x655BAED3, 0xC01A3CAD, 0x2A34FCDE, 0x8F756EA0,
+ 0xC3D4340C, 0x6695A672, 0x8CBB6601, 0x29FAF47F,
+ 0x5D0A9016, 0xF84B0268, 0x1265C21B, 0xB7245065,
+ 0x6A638C57, 0xCF221E29, 0x250CDE5A, 0x804D4C24,
+ 0xF4BD284D, 0x51FCBA33, 0xBBD27A40, 0x1E93E83E,
+ 0x5232B292, 0xF77320EC, 0x1D5DE09F, 0xB81C72E1,
+ 0xCCEC1688, 0x69AD84F6, 0x83834485, 0x26C2D6FB,
+ 0x1AC1F1DD, 0xBF8063A3, 0x55AEA3D0, 0xF0EF31AE,
+ 0x841F55C7, 0x215EC7B9, 0xCB7007CA, 0x6E3195B4,
+ 0x2290CF18, 0x87D15D66, 0x6DFF9D15, 0xC8BE0F6B,
+ 0xBC4E6B02, 0x190FF97C, 0xF321390F, 0x5660AB71,
+ 0x4C42F79A, 0xE90365E4, 0x032DA597, 0xA66C37E9,
+ 0xD29C5380, 0x77DDC1FE, 0x9DF3018D, 0x38B293F3,
+ 0x7413C95F, 0xD1525B21, 0x3B7C9B52, 0x9E3D092C,
+ 0xEACD6D45, 0x4F8CFF3B, 0xA5A23F48, 0x00E3AD36,
+ 0x3CE08A10, 0x99A1186E, 0x738FD81D, 0xD6CE4A63,
+ 0xA23E2E0A, 0x077FBC74, 0xED517C07, 0x4810EE79,
+ 0x04B1B4D5, 0xA1F026AB, 0x4BDEE6D8, 0xEE9F74A6,
+ 0x9A6F10CF, 0x3F2E82B1, 0xD50042C2, 0x7041D0BC,
+ 0xAD060C8E, 0x08479EF0, 0xE2695E83, 0x4728CCFD,
+ 0x33D8A894, 0x96993AEA, 0x7CB7FA99, 0xD9F668E7,
+ 0x9557324B, 0x3016A035, 0xDA386046, 0x7F79F238,
+ 0x0B899651, 0xAEC8042F, 0x44E6C45C, 0xE1A75622,
+ 0xDDA47104, 0x78E5E37A, 0x92CB2309, 0x378AB177,
+ 0x437AD51E, 0xE63B4760, 0x0C158713, 0xA954156D,
+ 0xE5F54FC1, 0x40B4DDBF, 0xAA9A1DCC, 0x0FDB8FB2,
+ 0x7B2BEBDB, 0xDE6A79A5, 0x3444B9D6, 0x91052BA8
+ };
+ static final int[] T8_3 = new int[] {
+ 0x00000000, 0xDD45AAB8, 0xBF672381, 0x62228939,
+ 0x7B2231F3, 0xA6679B4B, 0xC4451272, 0x1900B8CA,
+ 0xF64463E6, 0x2B01C95E, 0x49234067, 0x9466EADF,
+ 0x8D665215, 0x5023F8AD, 0x32017194, 0xEF44DB2C,
+ 0xE964B13D, 0x34211B85, 0x560392BC, 0x8B463804,
+ 0x924680CE, 0x4F032A76, 0x2D21A34F, 0xF06409F7,
+ 0x1F20D2DB, 0xC2657863, 0xA047F15A, 0x7D025BE2,
+ 0x6402E328, 0xB9474990, 0xDB65C0A9, 0x06206A11,
+ 0xD725148B, 0x0A60BE33, 0x6842370A, 0xB5079DB2,
+ 0xAC072578, 0x71428FC0, 0x136006F9, 0xCE25AC41,
+ 0x2161776D, 0xFC24DDD5, 0x9E0654EC, 0x4343FE54,
+ 0x5A43469E, 0x8706EC26, 0xE524651F, 0x3861CFA7,
+ 0x3E41A5B6, 0xE3040F0E, 0x81268637, 0x5C632C8F,
+ 0x45639445, 0x98263EFD, 0xFA04B7C4, 0x27411D7C,
+ 0xC805C650, 0x15406CE8, 0x7762E5D1, 0xAA274F69,
+ 0xB327F7A3, 0x6E625D1B, 0x0C40D422, 0xD1057E9A,
+ 0xABA65FE7, 0x76E3F55F, 0x14C17C66, 0xC984D6DE,
+ 0xD0846E14, 0x0DC1C4AC, 0x6FE34D95, 0xB2A6E72D,
+ 0x5DE23C01, 0x80A796B9, 0xE2851F80, 0x3FC0B538,
+ 0x26C00DF2, 0xFB85A74A, 0x99A72E73, 0x44E284CB,
+ 0x42C2EEDA, 0x9F874462, 0xFDA5CD5B, 0x20E067E3,
+ 0x39E0DF29, 0xE4A57591, 0x8687FCA8, 0x5BC25610,
+ 0xB4868D3C, 0x69C32784, 0x0BE1AEBD, 0xD6A40405,
+ 0xCFA4BCCF, 0x12E11677, 0x70C39F4E, 0xAD8635F6,
+ 0x7C834B6C, 0xA1C6E1D4, 0xC3E468ED, 0x1EA1C255,
+ 0x07A17A9F, 0xDAE4D027, 0xB8C6591E, 0x6583F3A6,
+ 0x8AC7288A, 0x57828232, 0x35A00B0B, 0xE8E5A1B3,
+ 0xF1E51979, 0x2CA0B3C1, 0x4E823AF8, 0x93C79040,
+ 0x95E7FA51, 0x48A250E9, 0x2A80D9D0, 0xF7C57368,
+ 0xEEC5CBA2, 0x3380611A, 0x51A2E823, 0x8CE7429B,
+ 0x63A399B7, 0xBEE6330F, 0xDCC4BA36, 0x0181108E,
+ 0x1881A844, 0xC5C402FC, 0xA7E68BC5, 0x7AA3217D,
+ 0x52A0C93F, 0x8FE56387, 0xEDC7EABE, 0x30824006,
+ 0x2982F8CC, 0xF4C75274, 0x96E5DB4D, 0x4BA071F5,
+ 0xA4E4AAD9, 0x79A10061, 0x1B838958, 0xC6C623E0,
+ 0xDFC69B2A, 0x02833192, 0x60A1B8AB, 0xBDE41213,
+ 0xBBC47802, 0x6681D2BA, 0x04A35B83, 0xD9E6F13B,
+ 0xC0E649F1, 0x1DA3E349, 0x7F816A70, 0xA2C4C0C8,
+ 0x4D801BE4, 0x90C5B15C, 0xF2E73865, 0x2FA292DD,
+ 0x36A22A17, 0xEBE780AF, 0x89C50996, 0x5480A32E,
+ 0x8585DDB4, 0x58C0770C, 0x3AE2FE35, 0xE7A7548D,
+ 0xFEA7EC47, 0x23E246FF, 0x41C0CFC6, 0x9C85657E,
+ 0x73C1BE52, 0xAE8414EA, 0xCCA69DD3, 0x11E3376B,
+ 0x08E38FA1, 0xD5A62519, 0xB784AC20, 0x6AC10698,
+ 0x6CE16C89, 0xB1A4C631, 0xD3864F08, 0x0EC3E5B0,
+ 0x17C35D7A, 0xCA86F7C2, 0xA8A47EFB, 0x75E1D443,
+ 0x9AA50F6F, 0x47E0A5D7, 0x25C22CEE, 0xF8878656,
+ 0xE1873E9C, 0x3CC29424, 0x5EE01D1D, 0x83A5B7A5,
+ 0xF90696D8, 0x24433C60, 0x4661B559, 0x9B241FE1,
+ 0x8224A72B, 0x5F610D93, 0x3D4384AA, 0xE0062E12,
+ 0x0F42F53E, 0xD2075F86, 0xB025D6BF, 0x6D607C07,
+ 0x7460C4CD, 0xA9256E75, 0xCB07E74C, 0x16424DF4,
+ 0x106227E5, 0xCD278D5D, 0xAF050464, 0x7240AEDC,
+ 0x6B401616, 0xB605BCAE, 0xD4273597, 0x09629F2F,
+ 0xE6264403, 0x3B63EEBB, 0x59416782, 0x8404CD3A,
+ 0x9D0475F0, 0x4041DF48, 0x22635671, 0xFF26FCC9,
+ 0x2E238253, 0xF36628EB, 0x9144A1D2, 0x4C010B6A,
+ 0x5501B3A0, 0x88441918, 0xEA669021, 0x37233A99,
+ 0xD867E1B5, 0x05224B0D, 0x6700C234, 0xBA45688C,
+ 0xA345D046, 0x7E007AFE, 0x1C22F3C7, 0xC167597F,
+ 0xC747336E, 0x1A0299D6, 0x782010EF, 0xA565BA57,
+ 0xBC65029D, 0x6120A825, 0x0302211C, 0xDE478BA4,
+ 0x31035088, 0xEC46FA30, 0x8E647309, 0x5321D9B1,
+ 0x4A21617B, 0x9764CBC3, 0xF54642FA, 0x2803E842
+ };
+ static final int[] T8_4 = new int[] {
+ 0x00000000, 0x38116FAC, 0x7022DF58, 0x4833B0F4,
+ 0xE045BEB0, 0xD854D11C, 0x906761E8, 0xA8760E44,
+ 0xC5670B91, 0xFD76643D, 0xB545D4C9, 0x8D54BB65,
+ 0x2522B521, 0x1D33DA8D, 0x55006A79, 0x6D1105D5,
+ 0x8F2261D3, 0xB7330E7F, 0xFF00BE8B, 0xC711D127,
+ 0x6F67DF63, 0x5776B0CF, 0x1F45003B, 0x27546F97,
+ 0x4A456A42, 0x725405EE, 0x3A67B51A, 0x0276DAB6,
+ 0xAA00D4F2, 0x9211BB5E, 0xDA220BAA, 0xE2336406,
+ 0x1BA8B557, 0x23B9DAFB, 0x6B8A6A0F, 0x539B05A3,
+ 0xFBED0BE7, 0xC3FC644B, 0x8BCFD4BF, 0xB3DEBB13,
+ 0xDECFBEC6, 0xE6DED16A, 0xAEED619E, 0x96FC0E32,
+ 0x3E8A0076, 0x069B6FDA, 0x4EA8DF2E, 0x76B9B082,
+ 0x948AD484, 0xAC9BBB28, 0xE4A80BDC, 0xDCB96470,
+ 0x74CF6A34, 0x4CDE0598, 0x04EDB56C, 0x3CFCDAC0,
+ 0x51EDDF15, 0x69FCB0B9, 0x21CF004D, 0x19DE6FE1,
+ 0xB1A861A5, 0x89B90E09, 0xC18ABEFD, 0xF99BD151,
+ 0x37516AAE, 0x0F400502, 0x4773B5F6, 0x7F62DA5A,
+ 0xD714D41E, 0xEF05BBB2, 0xA7360B46, 0x9F2764EA,
+ 0xF236613F, 0xCA270E93, 0x8214BE67, 0xBA05D1CB,
+ 0x1273DF8F, 0x2A62B023, 0x625100D7, 0x5A406F7B,
+ 0xB8730B7D, 0x806264D1, 0xC851D425, 0xF040BB89,
+ 0x5836B5CD, 0x6027DA61, 0x28146A95, 0x10050539,
+ 0x7D1400EC, 0x45056F40, 0x0D36DFB4, 0x3527B018,
+ 0x9D51BE5C, 0xA540D1F0, 0xED736104, 0xD5620EA8,
+ 0x2CF9DFF9, 0x14E8B055, 0x5CDB00A1, 0x64CA6F0D,
+ 0xCCBC6149, 0xF4AD0EE5, 0xBC9EBE11, 0x848FD1BD,
+ 0xE99ED468, 0xD18FBBC4, 0x99BC0B30, 0xA1AD649C,
+ 0x09DB6AD8, 0x31CA0574, 0x79F9B580, 0x41E8DA2C,
+ 0xA3DBBE2A, 0x9BCAD186, 0xD3F96172, 0xEBE80EDE,
+ 0x439E009A, 0x7B8F6F36, 0x33BCDFC2, 0x0BADB06E,
+ 0x66BCB5BB, 0x5EADDA17, 0x169E6AE3, 0x2E8F054F,
+ 0x86F90B0B, 0xBEE864A7, 0xF6DBD453, 0xCECABBFF,
+ 0x6EA2D55C, 0x56B3BAF0, 0x1E800A04, 0x269165A8,
+ 0x8EE76BEC, 0xB6F60440, 0xFEC5B4B4, 0xC6D4DB18,
+ 0xABC5DECD, 0x93D4B161, 0xDBE70195, 0xE3F66E39,
+ 0x4B80607D, 0x73910FD1, 0x3BA2BF25, 0x03B3D089,
+ 0xE180B48F, 0xD991DB23, 0x91A26BD7, 0xA9B3047B,
+ 0x01C50A3F, 0x39D46593, 0x71E7D567, 0x49F6BACB,
+ 0x24E7BF1E, 0x1CF6D0B2, 0x54C56046, 0x6CD40FEA,
+ 0xC4A201AE, 0xFCB36E02, 0xB480DEF6, 0x8C91B15A,
+ 0x750A600B, 0x4D1B0FA7, 0x0528BF53, 0x3D39D0FF,
+ 0x954FDEBB, 0xAD5EB117, 0xE56D01E3, 0xDD7C6E4F,
+ 0xB06D6B9A, 0x887C0436, 0xC04FB4C2, 0xF85EDB6E,
+ 0x5028D52A, 0x6839BA86, 0x200A0A72, 0x181B65DE,
+ 0xFA2801D8, 0xC2396E74, 0x8A0ADE80, 0xB21BB12C,
+ 0x1A6DBF68, 0x227CD0C4, 0x6A4F6030, 0x525E0F9C,
+ 0x3F4F0A49, 0x075E65E5, 0x4F6DD511, 0x777CBABD,
+ 0xDF0AB4F9, 0xE71BDB55, 0xAF286BA1, 0x9739040D,
+ 0x59F3BFF2, 0x61E2D05E, 0x29D160AA, 0x11C00F06,
+ 0xB9B60142, 0x81A76EEE, 0xC994DE1A, 0xF185B1B6,
+ 0x9C94B463, 0xA485DBCF, 0xECB66B3B, 0xD4A70497,
+ 0x7CD10AD3, 0x44C0657F, 0x0CF3D58B, 0x34E2BA27,
+ 0xD6D1DE21, 0xEEC0B18D, 0xA6F30179, 0x9EE26ED5,
+ 0x36946091, 0x0E850F3D, 0x46B6BFC9, 0x7EA7D065,
+ 0x13B6D5B0, 0x2BA7BA1C, 0x63940AE8, 0x5B856544,
+ 0xF3F36B00, 0xCBE204AC, 0x83D1B458, 0xBBC0DBF4,
+ 0x425B0AA5, 0x7A4A6509, 0x3279D5FD, 0x0A68BA51,
+ 0xA21EB415, 0x9A0FDBB9, 0xD23C6B4D, 0xEA2D04E1,
+ 0x873C0134, 0xBF2D6E98, 0xF71EDE6C, 0xCF0FB1C0,
+ 0x6779BF84, 0x5F68D028, 0x175B60DC, 0x2F4A0F70,
+ 0xCD796B76, 0xF56804DA, 0xBD5BB42E, 0x854ADB82,
+ 0x2D3CD5C6, 0x152DBA6A, 0x5D1E0A9E, 0x650F6532,
+ 0x081E60E7, 0x300F0F4B, 0x783CBFBF, 0x402DD013,
+ 0xE85BDE57, 0xD04AB1FB, 0x9879010F, 0xA0686EA3
+ };
+ static final int[] T8_5 = new int[] {
+ 0x00000000, 0xEF306B19, 0xDB8CA0C3, 0x34BCCBDA,
+ 0xB2F53777, 0x5DC55C6E, 0x697997B4, 0x8649FCAD,
+ 0x6006181F, 0x8F367306, 0xBB8AB8DC, 0x54BAD3C5,
+ 0xD2F32F68, 0x3DC34471, 0x097F8FAB, 0xE64FE4B2,
+ 0xC00C303E, 0x2F3C5B27, 0x1B8090FD, 0xF4B0FBE4,
+ 0x72F90749, 0x9DC96C50, 0xA975A78A, 0x4645CC93,
+ 0xA00A2821, 0x4F3A4338, 0x7B8688E2, 0x94B6E3FB,
+ 0x12FF1F56, 0xFDCF744F, 0xC973BF95, 0x2643D48C,
+ 0x85F4168D, 0x6AC47D94, 0x5E78B64E, 0xB148DD57,
+ 0x370121FA, 0xD8314AE3, 0xEC8D8139, 0x03BDEA20,
+ 0xE5F20E92, 0x0AC2658B, 0x3E7EAE51, 0xD14EC548,
+ 0x570739E5, 0xB83752FC, 0x8C8B9926, 0x63BBF23F,
+ 0x45F826B3, 0xAAC84DAA, 0x9E748670, 0x7144ED69,
+ 0xF70D11C4, 0x183D7ADD, 0x2C81B107, 0xC3B1DA1E,
+ 0x25FE3EAC, 0xCACE55B5, 0xFE729E6F, 0x1142F576,
+ 0x970B09DB, 0x783B62C2, 0x4C87A918, 0xA3B7C201,
+ 0x0E045BEB, 0xE13430F2, 0xD588FB28, 0x3AB89031,
+ 0xBCF16C9C, 0x53C10785, 0x677DCC5F, 0x884DA746,
+ 0x6E0243F4, 0x813228ED, 0xB58EE337, 0x5ABE882E,
+ 0xDCF77483, 0x33C71F9A, 0x077BD440, 0xE84BBF59,
+ 0xCE086BD5, 0x213800CC, 0x1584CB16, 0xFAB4A00F,
+ 0x7CFD5CA2, 0x93CD37BB, 0xA771FC61, 0x48419778,
+ 0xAE0E73CA, 0x413E18D3, 0x7582D309, 0x9AB2B810,
+ 0x1CFB44BD, 0xF3CB2FA4, 0xC777E47E, 0x28478F67,
+ 0x8BF04D66, 0x64C0267F, 0x507CEDA5, 0xBF4C86BC,
+ 0x39057A11, 0xD6351108, 0xE289DAD2, 0x0DB9B1CB,
+ 0xEBF65579, 0x04C63E60, 0x307AF5BA, 0xDF4A9EA3,
+ 0x5903620E, 0xB6330917, 0x828FC2CD, 0x6DBFA9D4,
+ 0x4BFC7D58, 0xA4CC1641, 0x9070DD9B, 0x7F40B682,
+ 0xF9094A2F, 0x16392136, 0x2285EAEC, 0xCDB581F5,
+ 0x2BFA6547, 0xC4CA0E5E, 0xF076C584, 0x1F46AE9D,
+ 0x990F5230, 0x763F3929, 0x4283F2F3, 0xADB399EA,
+ 0x1C08B7D6, 0xF338DCCF, 0xC7841715, 0x28B47C0C,
+ 0xAEFD80A1, 0x41CDEBB8, 0x75712062, 0x9A414B7B,
+ 0x7C0EAFC9, 0x933EC4D0, 0xA7820F0A, 0x48B26413,
+ 0xCEFB98BE, 0x21CBF3A7, 0x1577387D, 0xFA475364,
+ 0xDC0487E8, 0x3334ECF1, 0x0788272B, 0xE8B84C32,
+ 0x6EF1B09F, 0x81C1DB86, 0xB57D105C, 0x5A4D7B45,
+ 0xBC029FF7, 0x5332F4EE, 0x678E3F34, 0x88BE542D,
+ 0x0EF7A880, 0xE1C7C399, 0xD57B0843, 0x3A4B635A,
+ 0x99FCA15B, 0x76CCCA42, 0x42700198, 0xAD406A81,
+ 0x2B09962C, 0xC439FD35, 0xF08536EF, 0x1FB55DF6,
+ 0xF9FAB944, 0x16CAD25D, 0x22761987, 0xCD46729E,
+ 0x4B0F8E33, 0xA43FE52A, 0x90832EF0, 0x7FB345E9,
+ 0x59F09165, 0xB6C0FA7C, 0x827C31A6, 0x6D4C5ABF,
+ 0xEB05A612, 0x0435CD0B, 0x308906D1, 0xDFB96DC8,
+ 0x39F6897A, 0xD6C6E263, 0xE27A29B9, 0x0D4A42A0,
+ 0x8B03BE0D, 0x6433D514, 0x508F1ECE, 0xBFBF75D7,
+ 0x120CEC3D, 0xFD3C8724, 0xC9804CFE, 0x26B027E7,
+ 0xA0F9DB4A, 0x4FC9B053, 0x7B757B89, 0x94451090,
+ 0x720AF422, 0x9D3A9F3B, 0xA98654E1, 0x46B63FF8,
+ 0xC0FFC355, 0x2FCFA84C, 0x1B736396, 0xF443088F,
+ 0xD200DC03, 0x3D30B71A, 0x098C7CC0, 0xE6BC17D9,
+ 0x60F5EB74, 0x8FC5806D, 0xBB794BB7, 0x544920AE,
+ 0xB206C41C, 0x5D36AF05, 0x698A64DF, 0x86BA0FC6,
+ 0x00F3F36B, 0xEFC39872, 0xDB7F53A8, 0x344F38B1,
+ 0x97F8FAB0, 0x78C891A9, 0x4C745A73, 0xA344316A,
+ 0x250DCDC7, 0xCA3DA6DE, 0xFE816D04, 0x11B1061D,
+ 0xF7FEE2AF, 0x18CE89B6, 0x2C72426C, 0xC3422975,
+ 0x450BD5D8, 0xAA3BBEC1, 0x9E87751B, 0x71B71E02,
+ 0x57F4CA8E, 0xB8C4A197, 0x8C786A4D, 0x63480154,
+ 0xE501FDF9, 0x0A3196E0, 0x3E8D5D3A, 0xD1BD3623,
+ 0x37F2D291, 0xD8C2B988, 0xEC7E7252, 0x034E194B,
+ 0x8507E5E6, 0x6A378EFF, 0x5E8B4525, 0xB1BB2E3C
+ };
+ static final int[] T8_6 = new int[] {
+ 0x00000000, 0x68032CC8, 0xD0065990, 0xB8057558,
+ 0xA5E0C5D1, 0xCDE3E919, 0x75E69C41, 0x1DE5B089,
+ 0x4E2DFD53, 0x262ED19B, 0x9E2BA4C3, 0xF628880B,
+ 0xEBCD3882, 0x83CE144A, 0x3BCB6112, 0x53C84DDA,
+ 0x9C5BFAA6, 0xF458D66E, 0x4C5DA336, 0x245E8FFE,
+ 0x39BB3F77, 0x51B813BF, 0xE9BD66E7, 0x81BE4A2F,
+ 0xD27607F5, 0xBA752B3D, 0x02705E65, 0x6A7372AD,
+ 0x7796C224, 0x1F95EEEC, 0xA7909BB4, 0xCF93B77C,
+ 0x3D5B83BD, 0x5558AF75, 0xED5DDA2D, 0x855EF6E5,
+ 0x98BB466C, 0xF0B86AA4, 0x48BD1FFC, 0x20BE3334,
+ 0x73767EEE, 0x1B755226, 0xA370277E, 0xCB730BB6,
+ 0xD696BB3F, 0xBE9597F7, 0x0690E2AF, 0x6E93CE67,
+ 0xA100791B, 0xC90355D3, 0x7106208B, 0x19050C43,
+ 0x04E0BCCA, 0x6CE39002, 0xD4E6E55A, 0xBCE5C992,
+ 0xEF2D8448, 0x872EA880, 0x3F2BDDD8, 0x5728F110,
+ 0x4ACD4199, 0x22CE6D51, 0x9ACB1809, 0xF2C834C1,
+ 0x7AB7077A, 0x12B42BB2, 0xAAB15EEA, 0xC2B27222,
+ 0xDF57C2AB, 0xB754EE63, 0x0F519B3B, 0x6752B7F3,
+ 0x349AFA29, 0x5C99D6E1, 0xE49CA3B9, 0x8C9F8F71,
+ 0x917A3FF8, 0xF9791330, 0x417C6668, 0x297F4AA0,
+ 0xE6ECFDDC, 0x8EEFD114, 0x36EAA44C, 0x5EE98884,
+ 0x430C380D, 0x2B0F14C5, 0x930A619D, 0xFB094D55,
+ 0xA8C1008F, 0xC0C22C47, 0x78C7591F, 0x10C475D7,
+ 0x0D21C55E, 0x6522E996, 0xDD279CCE, 0xB524B006,
+ 0x47EC84C7, 0x2FEFA80F, 0x97EADD57, 0xFFE9F19F,
+ 0xE20C4116, 0x8A0F6DDE, 0x320A1886, 0x5A09344E,
+ 0x09C17994, 0x61C2555C, 0xD9C72004, 0xB1C40CCC,
+ 0xAC21BC45, 0xC422908D, 0x7C27E5D5, 0x1424C91D,
+ 0xDBB77E61, 0xB3B452A9, 0x0BB127F1, 0x63B20B39,
+ 0x7E57BBB0, 0x16549778, 0xAE51E220, 0xC652CEE8,
+ 0x959A8332, 0xFD99AFFA, 0x459CDAA2, 0x2D9FF66A,
+ 0x307A46E3, 0x58796A2B, 0xE07C1F73, 0x887F33BB,
+ 0xF56E0EF4, 0x9D6D223C, 0x25685764, 0x4D6B7BAC,
+ 0x508ECB25, 0x388DE7ED, 0x808892B5, 0xE88BBE7D,
+ 0xBB43F3A7, 0xD340DF6F, 0x6B45AA37, 0x034686FF,
+ 0x1EA33676, 0x76A01ABE, 0xCEA56FE6, 0xA6A6432E,
+ 0x6935F452, 0x0136D89A, 0xB933ADC2, 0xD130810A,
+ 0xCCD53183, 0xA4D61D4B, 0x1CD36813, 0x74D044DB,
+ 0x27180901, 0x4F1B25C9, 0xF71E5091, 0x9F1D7C59,
+ 0x82F8CCD0, 0xEAFBE018, 0x52FE9540, 0x3AFDB988,
+ 0xC8358D49, 0xA036A181, 0x1833D4D9, 0x7030F811,
+ 0x6DD54898, 0x05D66450, 0xBDD31108, 0xD5D03DC0,
+ 0x8618701A, 0xEE1B5CD2, 0x561E298A, 0x3E1D0542,
+ 0x23F8B5CB, 0x4BFB9903, 0xF3FEEC5B, 0x9BFDC093,
+ 0x546E77EF, 0x3C6D5B27, 0x84682E7F, 0xEC6B02B7,
+ 0xF18EB23E, 0x998D9EF6, 0x2188EBAE, 0x498BC766,
+ 0x1A438ABC, 0x7240A674, 0xCA45D32C, 0xA246FFE4,
+ 0xBFA34F6D, 0xD7A063A5, 0x6FA516FD, 0x07A63A35,
+ 0x8FD9098E, 0xE7DA2546, 0x5FDF501E, 0x37DC7CD6,
+ 0x2A39CC5F, 0x423AE097, 0xFA3F95CF, 0x923CB907,
+ 0xC1F4F4DD, 0xA9F7D815, 0x11F2AD4D, 0x79F18185,
+ 0x6414310C, 0x0C171DC4, 0xB412689C, 0xDC114454,
+ 0x1382F328, 0x7B81DFE0, 0xC384AAB8, 0xAB878670,
+ 0xB66236F9, 0xDE611A31, 0x66646F69, 0x0E6743A1,
+ 0x5DAF0E7B, 0x35AC22B3, 0x8DA957EB, 0xE5AA7B23,
+ 0xF84FCBAA, 0x904CE762, 0x2849923A, 0x404ABEF2,
+ 0xB2828A33, 0xDA81A6FB, 0x6284D3A3, 0x0A87FF6B,
+ 0x17624FE2, 0x7F61632A, 0xC7641672, 0xAF673ABA,
+ 0xFCAF7760, 0x94AC5BA8, 0x2CA92EF0, 0x44AA0238,
+ 0x594FB2B1, 0x314C9E79, 0x8949EB21, 0xE14AC7E9,
+ 0x2ED97095, 0x46DA5C5D, 0xFEDF2905, 0x96DC05CD,
+ 0x8B39B544, 0xE33A998C, 0x5B3FECD4, 0x333CC01C,
+ 0x60F48DC6, 0x08F7A10E, 0xB0F2D456, 0xD8F1F89E,
+ 0xC5144817, 0xAD1764DF, 0x15121187, 0x7D113D4F
+ };
+ static final int[] T8_7 = new int[] {
+ 0x00000000, 0x493C7D27, 0x9278FA4E, 0xDB448769,
+ 0x211D826D, 0x6821FF4A, 0xB3657823, 0xFA590504,
+ 0x423B04DA, 0x0B0779FD, 0xD043FE94, 0x997F83B3,
+ 0x632686B7, 0x2A1AFB90, 0xF15E7CF9, 0xB86201DE,
+ 0x847609B4, 0xCD4A7493, 0x160EF3FA, 0x5F328EDD,
+ 0xA56B8BD9, 0xEC57F6FE, 0x37137197, 0x7E2F0CB0,
+ 0xC64D0D6E, 0x8F717049, 0x5435F720, 0x1D098A07,
+ 0xE7508F03, 0xAE6CF224, 0x7528754D, 0x3C14086A,
+ 0x0D006599, 0x443C18BE, 0x9F789FD7, 0xD644E2F0,
+ 0x2C1DE7F4, 0x65219AD3, 0xBE651DBA, 0xF759609D,
+ 0x4F3B6143, 0x06071C64, 0xDD439B0D, 0x947FE62A,
+ 0x6E26E32E, 0x271A9E09, 0xFC5E1960, 0xB5626447,
+ 0x89766C2D, 0xC04A110A, 0x1B0E9663, 0x5232EB44,
+ 0xA86BEE40, 0xE1579367, 0x3A13140E, 0x732F6929,
+ 0xCB4D68F7, 0x827115D0, 0x593592B9, 0x1009EF9E,
+ 0xEA50EA9A, 0xA36C97BD, 0x782810D4, 0x31146DF3,
+ 0x1A00CB32, 0x533CB615, 0x8878317C, 0xC1444C5B,
+ 0x3B1D495F, 0x72213478, 0xA965B311, 0xE059CE36,
+ 0x583BCFE8, 0x1107B2CF, 0xCA4335A6, 0x837F4881,
+ 0x79264D85, 0x301A30A2, 0xEB5EB7CB, 0xA262CAEC,
+ 0x9E76C286, 0xD74ABFA1, 0x0C0E38C8, 0x453245EF,
+ 0xBF6B40EB, 0xF6573DCC, 0x2D13BAA5, 0x642FC782,
+ 0xDC4DC65C, 0x9571BB7B, 0x4E353C12, 0x07094135,
+ 0xFD504431, 0xB46C3916, 0x6F28BE7F, 0x2614C358,
+ 0x1700AEAB, 0x5E3CD38C, 0x857854E5, 0xCC4429C2,
+ 0x361D2CC6, 0x7F2151E1, 0xA465D688, 0xED59ABAF,
+ 0x553BAA71, 0x1C07D756, 0xC743503F, 0x8E7F2D18,
+ 0x7426281C, 0x3D1A553B, 0xE65ED252, 0xAF62AF75,
+ 0x9376A71F, 0xDA4ADA38, 0x010E5D51, 0x48322076,
+ 0xB26B2572, 0xFB575855, 0x2013DF3C, 0x692FA21B,
+ 0xD14DA3C5, 0x9871DEE2, 0x4335598B, 0x0A0924AC,
+ 0xF05021A8, 0xB96C5C8F, 0x6228DBE6, 0x2B14A6C1,
+ 0x34019664, 0x7D3DEB43, 0xA6796C2A, 0xEF45110D,
+ 0x151C1409, 0x5C20692E, 0x8764EE47, 0xCE589360,
+ 0x763A92BE, 0x3F06EF99, 0xE44268F0, 0xAD7E15D7,
+ 0x572710D3, 0x1E1B6DF4, 0xC55FEA9D, 0x8C6397BA,
+ 0xB0779FD0, 0xF94BE2F7, 0x220F659E, 0x6B3318B9,
+ 0x916A1DBD, 0xD856609A, 0x0312E7F3, 0x4A2E9AD4,
+ 0xF24C9B0A, 0xBB70E62D, 0x60346144, 0x29081C63,
+ 0xD3511967, 0x9A6D6440, 0x4129E329, 0x08159E0E,
+ 0x3901F3FD, 0x703D8EDA, 0xAB7909B3, 0xE2457494,
+ 0x181C7190, 0x51200CB7, 0x8A648BDE, 0xC358F6F9,
+ 0x7B3AF727, 0x32068A00, 0xE9420D69, 0xA07E704E,
+ 0x5A27754A, 0x131B086D, 0xC85F8F04, 0x8163F223,
+ 0xBD77FA49, 0xF44B876E, 0x2F0F0007, 0x66337D20,
+ 0x9C6A7824, 0xD5560503, 0x0E12826A, 0x472EFF4D,
+ 0xFF4CFE93, 0xB67083B4, 0x6D3404DD, 0x240879FA,
+ 0xDE517CFE, 0x976D01D9, 0x4C2986B0, 0x0515FB97,
+ 0x2E015D56, 0x673D2071, 0xBC79A718, 0xF545DA3F,
+ 0x0F1CDF3B, 0x4620A21C, 0x9D642575, 0xD4585852,
+ 0x6C3A598C, 0x250624AB, 0xFE42A3C2, 0xB77EDEE5,
+ 0x4D27DBE1, 0x041BA6C6, 0xDF5F21AF, 0x96635C88,
+ 0xAA7754E2, 0xE34B29C5, 0x380FAEAC, 0x7133D38B,
+ 0x8B6AD68F, 0xC256ABA8, 0x19122CC1, 0x502E51E6,
+ 0xE84C5038, 0xA1702D1F, 0x7A34AA76, 0x3308D751,
+ 0xC951D255, 0x806DAF72, 0x5B29281B, 0x1215553C,
+ 0x230138CF, 0x6A3D45E8, 0xB179C281, 0xF845BFA6,
+ 0x021CBAA2, 0x4B20C785, 0x906440EC, 0xD9583DCB,
+ 0x613A3C15, 0x28064132, 0xF342C65B, 0xBA7EBB7C,
+ 0x4027BE78, 0x091BC35F, 0xD25F4436, 0x9B633911,
+ 0xA777317B, 0xEE4B4C5C, 0x350FCB35, 0x7C33B612,
+ 0x866AB316, 0xCF56CE31, 0x14124958, 0x5D2E347F,
+ 0xE54C35A1, 0xAC704886, 0x7734CFEF, 0x3E08B2C8,
+ 0xC451B7CC, 0x8D6DCAEB, 0x56294D82, 0x1F1530A5
+ };
+}
\ No newline at end of file
diff --git a/src/main/java/org/xerial/snappy/Snappy.java b/src/main/java/org/xerial/snappy/Snappy.java
old mode 100644
new mode 100755
index dac227f..ec46926
--- a/src/main/java/org/xerial/snappy/Snappy.java
+++ b/src/main/java/org/xerial/snappy/Snappy.java
@@ -33,8 +33,11 @@ import java.util.Properties;
/**
* Snappy API for data compression/decompression
+ *
+ * Note: if the native libraries cannot be loaded, an ExceptionInInitializerError
+ * will be thrown at first use of this class.
*
- * @author leo
+ * @author Taro L. Saito
*
*/
public class Snappy
@@ -44,14 +47,28 @@ public class Snappy
impl = SnappyLoader.load();
}
catch (Exception e) {
- e.printStackTrace();
+ throw new ExceptionInInitializerError(e);
}
}
/**
- * An instance of SnappyNativeAPI
+ * An instance of SnappyNative
*/
- private static Object impl;
+ private static SnappyNative impl;
+
+
+ /**
+ * Clean up a temporary file (native lib) generated by snappy-java.
+ * General users do not need to call this method, since the native library extracted in snappy-java
+ * is deleted upon JVM termination (vie deleteOnExit()).
+ * This method is useful when using a J2EE container, which will restart servlet containers multiple times without
+ * restarting JVM.
+ */
+ public static void cleanUp() {
+ SnappyLoader.cleanUpExtractedNativeLib();
+ SnappyLoader.setApi(null);
+ }
+
/**
* Copy bytes from source to destination
@@ -70,7 +87,7 @@ public class Snappy
*/
public static void arrayCopy(Object src, int offset, int byteLength, Object dest, int dest_offset)
throws IOException {
- ((SnappyNativeAPI) impl).arrayCopy(src, offset, byteLength, dest, dest_offset);
+ impl.arrayCopy(src, offset, byteLength, dest, dest_offset);
}
/**
@@ -131,7 +148,7 @@ public class Snappy
// output: compressed
int uPos = uncompressed.position();
int uLen = uncompressed.remaining();
- int compressedSize = ((SnappyNativeAPI) impl).rawCompress(uncompressed, uPos, uLen, compressed,
+ int compressedSize = impl.rawCompress(uncompressed, uPos, uLen, compressed,
compressed.position());
// pos limit
@@ -147,7 +164,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(char[] input) {
+ public static byte[] compress(char[] input) throws IOException {
return rawCompress(input, input.length * 2); // char uses 2 bytes
}
@@ -157,7 +174,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(double[] input) {
+ public static byte[] compress(double[] input) throws IOException {
return rawCompress(input, input.length * 8); // double uses 8 bytes
}
@@ -167,7 +184,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(float[] input) {
+ public static byte[] compress(float[] input) throws IOException {
return rawCompress(input, input.length * 4); // float uses 4 bytes
}
@@ -177,7 +194,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(int[] input) {
+ public static byte[] compress(int[] input) throws IOException {
return rawCompress(input, input.length * 4); // int uses 4 bytes
}
@@ -187,7 +204,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(long[] input) {
+ public static byte[] compress(long[] input) throws IOException {
return rawCompress(input, input.length * 8); // long uses 8 bytes
}
@@ -197,7 +214,7 @@ public class Snappy
* @param input
* @return the compressed data
*/
- public static byte[] compress(short[] input) {
+ public static byte[] compress(short[] input) throws IOException {
return rawCompress(input, input.length * 2); // short uses 2 bytes
}
@@ -280,7 +297,7 @@ public class Snappy
public static boolean isValidCompressedBuffer(byte[] input, int offset, int length) throws IOException {
if (input == null)
throw new NullPointerException("input is null");
- return ((SnappyNativeAPI) impl).isValidCompressedBuffer(input, offset, length);
+ return impl.isValidCompressedBuffer(input, offset, length);
}
/**
@@ -300,11 +317,22 @@ public class Snappy
* factor of four faster than actual decompression.
*/
public static boolean isValidCompressedBuffer(ByteBuffer compressed) throws IOException {
- return ((SnappyNativeAPI) impl).isValidCompressedBuffer(compressed, compressed.position(),
+ return impl.isValidCompressedBuffer(compressed, compressed.position(),
compressed.remaining());
}
/**
+ * Returns true iff the contents of compressed buffer [offset,
+ * offset+length) can be uncompressed successfully. Does not return the
+ * uncompressed data. Takes time proportional to the input length, but is
+ * usually at least a factor of four faster than actual decompression.
+ */
+ public static boolean isValidCompressedBuffer(long inputAddr, long offset, long length) throws IOException {
+ return impl.isValidCompressedBuffer(inputAddr, offset, length);
+ }
+
+
+ /**
* Get the maximum byte size needed for compressing data of the given byte
* size.
*
@@ -313,10 +341,35 @@ public class Snappy
* @return maximum byte size of the compressed data
*/
public static int maxCompressedLength(int byteSize) {
- return ((SnappyNativeAPI) impl).maxCompressedLength(byteSize);
+ return impl.maxCompressedLength(byteSize);
}
/**
+ * Zero-copy compress using memory addresses.
+ * @param inputAddr input memory address
+ * @param inputSize input byte size
+ * @param destAddr destination address of the compressed data
+ * @return the compressed data size
+ * @throws IOException
+ */
+ public static long rawCompress(long inputAddr, long inputSize, long destAddr) throws IOException {
+ return impl.rawCompress(inputAddr, inputSize, destAddr);
+ }
+
+ /**
+ * Zero-copy decompress using memory addresses.
+ * @param inputAddr input memory address
+ * @param inputSize input byte size
+ * @param destAddr destination address of the uncompressed data
+ * @return the uncompressed data size
+ * @throws IOException
+ */
+ public static long rawUncompress(long inputAddr, long inputSize, long destAddr) throws IOException {
+ return impl.rawUncompress(inputAddr, inputSize, destAddr);
+ }
+
+
+ /**
* Compress the input data and produce a byte array of the uncompressed data
*
* @param data
@@ -325,9 +378,9 @@ public class Snappy
* the input byte size
* @return compressed data
*/
- public static byte[] rawCompress(Object data, int byteSize) {
+ public static byte[] rawCompress(Object data, int byteSize) throws IOException {
byte[] buf = new byte[Snappy.maxCompressedLength(byteSize)];
- int compressedByteSize = ((SnappyNativeAPI) impl).rawCompress(data, 0, byteSize, buf, 0);
+ int compressedByteSize = impl.rawCompress(data, 0, byteSize, buf, 0);
byte[] result = new byte[compressedByteSize];
System.arraycopy(buf, 0, result, 0, compressedByteSize);
return result;
@@ -355,7 +408,7 @@ public class Snappy
if (input == null || output == null)
throw new NullPointerException("input or output is null");
- int compressedSize = ((SnappyNativeAPI) impl)
+ int compressedSize = impl
.rawCompress(input, inputOffset, inputLength, output, outputOffset);
return compressedSize;
}
@@ -388,7 +441,7 @@ public class Snappy
throws IOException {
if (input == null || output == null)
throw new NullPointerException("input or output is null");
- return ((SnappyNativeAPI) impl).rawUncompress(input, inputOffset, inputLength, output, outputOffset);
+ return impl.rawUncompress(input, inputOffset, inputLength, output, outputOffset);
}
/**
@@ -460,7 +513,7 @@ public class Snappy
// pos limit
// [ ......UUUUUU.........]
- int decompressedSize = ((SnappyNativeAPI) impl).rawUncompress(compressed, cPos, cLen, uncompressed,
+ int decompressedSize = impl.rawUncompress(compressed, cPos, cLen, uncompressed,
uncompressed.position());
uncompressed.limit(uncompressed.position() + decompressedSize);
@@ -490,7 +543,7 @@ public class Snappy
public static char[] uncompressCharArray(byte[] input, int offset, int length) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
char[] result = new char[uncompressedLength / 2];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, offset, length, result, 0);
+ int byteSize = impl.rawUncompress(input, offset, length, result, 0);
return result;
}
@@ -504,7 +557,7 @@ public class Snappy
public static double[] uncompressDoubleArray(byte[] input) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, 0, input.length);
double[] result = new double[uncompressedLength / 8];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, 0, input.length, result, 0);
+ int byteSize = impl.rawUncompress(input, 0, input.length, result, 0);
return result;
}
@@ -519,7 +572,7 @@ public class Snappy
* {@link SnappyErrorCode#PARSING_ERROR}
*/
public static int uncompressedLength(byte[] input) throws IOException {
- return ((SnappyNativeAPI) impl).uncompressedLength(input, 0, input.length);
+ return impl.uncompressedLength(input, 0, input.length);
}
/**
@@ -538,12 +591,12 @@ public class Snappy
if (input == null)
throw new NullPointerException("input is null");
- return ((SnappyNativeAPI) impl).uncompressedLength(input, offset, length);
+ return impl.uncompressedLength(input, offset, length);
}
/**
* Get the uncompressed byte size of the given compressed input. This
- * operation taks O(1) time.
+ * operation takes O(1) time.
*
* @param compressed
* input data [pos() ... limit())
@@ -558,7 +611,19 @@ public class Snappy
if (!compressed.isDirect())
throw new SnappyError(SnappyErrorCode.NOT_A_DIRECT_BUFFER, "input is not a direct buffer");
- return ((SnappyNativeAPI) impl).uncompressedLength(compressed, compressed.position(), compressed.remaining());
+ return impl.uncompressedLength(compressed, compressed.position(), compressed.remaining());
+ }
+
+ /**
+ * Get the uncompressed byte size of the given compressed input. This operation takes O(1) time.
+ * @param inputAddr compressed data address
+ * @param len byte length of the input
+ * @return uncompressed byte length of the given input
+ * @throws IOException when failed to uncompress the given input. The error code is
+ * {@link SnappyErrorCode#PARSING_ERROR}
+ */
+ public static long uncompressedLength(long inputAddr, long len) throws IOException {
+ return impl.uncompressedLength(inputAddr, len);
}
/**
@@ -584,7 +649,7 @@ public class Snappy
public static float[] uncompressFloatArray(byte[] input, int offset, int length) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
float[] result = new float[uncompressedLength / 4];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, offset, length, result, 0);
+ int byteSize = impl.rawUncompress(input, offset, length, result, 0);
return result;
}
@@ -611,7 +676,7 @@ public class Snappy
public static int[] uncompressIntArray(byte[] input, int offset, int length) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
int[] result = new int[uncompressedLength / 4];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, offset, length, result, 0);
+ int byteSize = impl.rawUncompress(input, offset, length, result, 0);
return result;
}
@@ -638,7 +703,7 @@ public class Snappy
public static long[] uncompressLongArray(byte[] input, int offset, int length) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
long[] result = new long[uncompressedLength / 8];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, offset, length, result, 0);
+ int byteSize = impl.rawUncompress(input, offset, length, result, 0);
return result;
}
@@ -665,7 +730,7 @@ public class Snappy
public static short[] uncompressShortArray(byte[] input, int offset, int length) throws IOException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
short[] result = new short[uncompressedLength / 2];
- int byteSize = ((SnappyNativeAPI) impl).rawUncompress(input, offset, length, result, 0);
+ int byteSize = impl.rawUncompress(input, offset, length, result, 0);
return result;
}
diff --git a/src/main/java/org/xerial/snappy/SnappyBundleActivator.java b/src/main/java/org/xerial/snappy/SnappyBundleActivator.java
old mode 100644
new mode 100755
index 5495160..6db09af
--- a/src/main/java/org/xerial/snappy/SnappyBundleActivator.java
+++ b/src/main/java/org/xerial/snappy/SnappyBundleActivator.java
@@ -24,9 +24,12 @@
//--------------------------------------
package org.xerial.snappy;
+import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
+import java.util.jar.Manifest;
+
/**
* OSGi bundle entry point
*
@@ -35,12 +38,30 @@ import org.osgi.framework.BundleContext;
*/
public class SnappyBundleActivator implements BundleActivator
{
- public void start(BundleContext context) throws Exception {
-
+ /**
+ * Name of the Snappy native library
+ */
+ public static final String LIBRARY_NAME = "snappyjava";
+
+ /**
+ * Make a call to {@link System#loadLibrary(String)} to load the native library which assumes
+ * that the library is available on the path based on this {@link Bundle}'s {@link Manifest}.
+ */
+ public void start(BundleContext context) throws Exception
+ {
+ String library = System.mapLibraryName(LIBRARY_NAME);
+ if (library.toLowerCase().endsWith(".dylib"))
+ {
+ // some MacOS JDK7+ vendors map to dylib instead of jnilib
+ library = library.replace(".dylib", ".jnilib");
+ }
+ System.loadLibrary(library);
+ SnappyLoader.setApi(new SnappyNative());
}
- public void stop(BundleContext context) throws Exception {
-
+ public void stop(BundleContext context) throws Exception
+ {
+ SnappyLoader.setApi(null);
+ SnappyLoader.cleanUpExtractedNativeLib();
}
-
}
diff --git a/src/main/java/org/xerial/snappy/SnappyCodec.java b/src/main/java/org/xerial/snappy/SnappyCodec.java
old mode 100644
new mode 100755
index 18014bd..1a15b8c
--- a/src/main/java/org/xerial/snappy/SnappyCodec.java
+++ b/src/main/java/org/xerial/snappy/SnappyCodec.java
@@ -50,7 +50,8 @@ import java.util.Arrays;
public class SnappyCodec
{
public static final byte[] MAGIC_HEADER = new byte[] { -126, 'S', 'N', 'A', 'P', 'P', 'Y', 0 };
- public static final int MAGIC_LEN = 8;
+ public static final int MAGIC_LEN = MAGIC_HEADER.length;
+ public static final int HEADER_SIZE = MAGIC_LEN + 8;
public static final int DEFAULT_VERSION = 1;
public static final int MINIMUM_COMPATIBLE_VERSION = 1;
@@ -58,11 +59,25 @@ public class SnappyCodec
public final byte[] magic;
public final int version;
public final int compatibleVersion;
+ private final byte[] headerArray;
private SnappyCodec(byte[] magic, int version, int compatibleVersion) {
this.magic = magic;
this.version = version;
this.compatibleVersion = compatibleVersion;
+
+ ByteArrayOutputStream header = new ByteArrayOutputStream(HEADER_SIZE);
+ DataOutputStream d = new DataOutputStream(header);
+ try {
+ d.write(magic, 0, MAGIC_LEN);
+ d.writeInt(version);
+ d.writeInt(compatibleVersion);
+ d.close();
+ }
+ catch(IOException e) {
+ throw new RuntimeException(e);
+ }
+ headerArray = header.toByteArray();
}
@Override
@@ -71,17 +86,17 @@ public class SnappyCodec
}
public static int headerSize() {
- return MAGIC_LEN + 4 * 2;
+ return HEADER_SIZE;
}
- public void writeHeader(OutputStream out) throws IOException {
- ByteArrayOutputStream header = new ByteArrayOutputStream();
- DataOutputStream d = new DataOutputStream(header);
- d.write(magic, 0, MAGIC_LEN);
- d.writeInt(version);
- d.writeInt(compatibleVersion);
- d.close();
- out.write(header.toByteArray(), 0, header.size());
+ public int writeHeader(byte[] dst, int dstOffset) {
+ System.arraycopy(headerArray, 0, dst, dstOffset, headerArray.length);
+ return headerArray.length;
+ }
+
+ public int writeHeader(OutputStream out) throws IOException {
+ out.write(headerArray, 0, headerArray.length);
+ return headerArray.length;
}
public boolean isValidMagicHeader() {
@@ -91,14 +106,12 @@ public class SnappyCodec
public static SnappyCodec readHeader(InputStream in) throws IOException {
DataInputStream d = new DataInputStream(in);
byte[] magic = new byte[MAGIC_LEN];
- d.read(magic, 0, MAGIC_LEN);
+ d.readFully(magic, 0, MAGIC_LEN);
int version = d.readInt();
int compatibleVersion = d.readInt();
return new SnappyCodec(magic, version, compatibleVersion);
}
- public static SnappyCodec currentHeader() {
- return new SnappyCodec(MAGIC_HEADER, DEFAULT_VERSION, MINIMUM_COMPATIBLE_VERSION);
- }
+ public static SnappyCodec currentHeader = new SnappyCodec(MAGIC_HEADER, DEFAULT_VERSION, MINIMUM_COMPATIBLE_VERSION);
}
diff --git a/src/main/java/org/xerial/snappy/SnappyError.java b/src/main/java/org/xerial/snappy/SnappyError.java
old mode 100644
new mode 100755
diff --git a/src/main/java/org/xerial/snappy/SnappyErrorCode.java b/src/main/java/org/xerial/snappy/SnappyErrorCode.java
old mode 100644
new mode 100755
index e3e520a..f1d8b6b
--- a/src/main/java/org/xerial/snappy/SnappyErrorCode.java
+++ b/src/main/java/org/xerial/snappy/SnappyErrorCode.java
@@ -38,7 +38,11 @@ public enum SnappyErrorCode {
PARSING_ERROR(2),
NOT_A_DIRECT_BUFFER(3),
OUT_OF_MEMORY(4),
- FAILED_TO_UNCOMPRESS(5);
+ FAILED_TO_UNCOMPRESS(5),
+ EMPTY_INPUT(6),
+ INCOMPATIBLE_VERSION(7),
+ INVALID_CHUNK_SIZE(8)
+ ;
public final int id;
diff --git a/src/main/java/org/xerial/snappy/SnappyException.java b/src/main/java/org/xerial/snappy/SnappyException.java
old mode 100644
new mode 100755
diff --git a/src/main/java/org/xerial/snappy/SnappyFramed.java b/src/main/java/org/xerial/snappy/SnappyFramed.java
new file mode 100644
index 0000000..2925945
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/SnappyFramed.java
@@ -0,0 +1,186 @@
+/*
+ * Created: Apr 12, 2013
+ */
+package org.xerial.snappy;
+
+import java.io.IOException;
+import java.lang.reflect.Method;
+import java.nio.ByteBuffer;
+import java.nio.channels.ReadableByteChannel;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+/**
+ * Constants and utilities for implementing x-snappy-framed.
+ *
+ * @author Brett Okken
+ * @since 1.1.0
+ */
+final class SnappyFramed {
+ public static final int COMPRESSED_DATA_FLAG = 0x00;
+
+ public static final int UNCOMPRESSED_DATA_FLAG = 0x01;
+
+ public static final int STREAM_IDENTIFIER_FLAG = 0xff;
+
+ private static final int MASK_DELTA = 0xa282ead8;
+
+ /**
+ * Sun specific mechanisms to clean up resources associated with direct byte buffers.
+ */
+ @SuppressWarnings("unchecked")
+ private static final Class<? extends ByteBuffer> SUN_DIRECT_BUFFER = (Class<? extends ByteBuffer>) lookupClassQuietly("sun.nio.ch.DirectBuffer");
+ private static final Method SUN_BUFFER_CLEANER;
+ private static final Method SUN_CLEANER_CLEAN;
+
+ static
+ {
+ Method bufferCleaner = null;
+ Method cleanerClean = null;
+ try {
+ //operate under the assumption that if the sun direct buffer class exists,
+ //all of the sun classes exist
+ if (SUN_DIRECT_BUFFER != null) {
+ bufferCleaner = SUN_DIRECT_BUFFER.getMethod("cleaner", (Class[])null);
+ Class<?> cleanClazz = lookupClassQuietly("sun.misc.Cleaner");
+ cleanerClean = cleanClazz.getMethod("clean", (Class[])null);
+ }
+ } catch(Throwable t) {
+ Logger.getLogger(SnappyFramed.class.getName()).log(Level.FINE, "Exception occurred attempting to lookup Sun specific DirectByteBuffer cleaner classes.", t);
+ }
+ SUN_BUFFER_CLEANER = bufferCleaner;
+ SUN_CLEANER_CLEAN = cleanerClean;
+ }
+
+ /**
+ * The header consists of the stream identifier flag, 3 bytes indicating a
+ * length of 6, and "sNaPpY" in ASCII.
+ */
+ public static final byte[] HEADER_BYTES = new byte[] {
+ (byte) STREAM_IDENTIFIER_FLAG, 0x06, 0x00, 0x00, 0x73, 0x4e, 0x61,
+ 0x50, 0x70, 0x59 };
+
+ public static int maskedCrc32c(byte[] data)
+ {
+ return maskedCrc32c(data, 0, data.length);
+ }
+
+ public static int maskedCrc32c(byte[] data, int offset, int length)
+ {
+ final PureJavaCrc32C crc32c = new PureJavaCrc32C();
+ crc32c.update(data, offset, length);
+ return mask(crc32c.getIntegerValue());
+ }
+
+ /**
+ * Checksums are not stored directly, but masked, as checksumming data and
+ * then its own checksum can be problematic. The masking is the same as used
+ * in Apache Hadoop: Rotate the checksum by 15 bits, then add the constant
+ * 0xa282ead8 (using wraparound as normal for unsigned integers). This is
+ * equivalent to the following C code:
+ *
+ * <pre>
+ * uint32_t mask_checksum(uint32_t x) {
+ * return ((x >> 15) | (x << 17)) + 0xa282ead8;
+ * }
+ * </pre>
+ */
+ public static int mask(int crc)
+ {
+ // Rotate right by 15 bits and add a constant.
+ return ((crc >>> 15) | (crc << 17)) + MASK_DELTA;
+ }
+
+
+ static final int readBytes(ReadableByteChannel source, ByteBuffer dest) throws IOException
+ {
+ // tells how many bytes to read.
+ final int expectedLength = dest.remaining();
+
+ int totalRead = 0;
+
+ // how many bytes were read.
+ int lastRead = source.read(dest);
+
+ totalRead = lastRead;
+
+ // if we did not read as many bytes as we had hoped, try reading again.
+ if (lastRead < expectedLength)
+ {
+ // as long the buffer is not full (remaining() == 0) and we have not reached EOF (lastRead == -1) keep reading.
+ while (dest.remaining() != 0 && lastRead != -1)
+ {
+ lastRead = source.read(dest);
+
+ // if we got EOF, do not add to total read.
+ if (lastRead != -1)
+ {
+ totalRead += lastRead;
+ }
+ }
+ }
+
+ if (totalRead > 0)
+ {
+ dest.limit(dest.position());
+ }
+ else
+ {
+ dest.position(dest.limit());
+ }
+
+ return totalRead;
+ }
+
+ static int skip(final ReadableByteChannel source, final int skip, final ByteBuffer buffer) throws IOException
+ {
+ if (skip <= 0) {
+ return 0;
+ }
+
+ int toSkip = skip;
+ int skipped = 0;
+ while(toSkip > 0 && skipped != -1) {
+ buffer.clear();
+ if (toSkip < buffer.capacity()) {
+ buffer.limit(toSkip);
+ }
+
+ skipped = source.read(buffer);
+ if (skipped > 0) {
+ toSkip -= skipped;
+ }
+ }
+
+ buffer.clear();
+ return skip - toSkip;
+ }
+
+ private static Class<?> lookupClassQuietly(String name) {
+ try {
+ return SnappyFramed.class.getClassLoader().loadClass(name);
+ } catch (Throwable t) {
+ Logger.getLogger(SnappyFramed.class.getName()).log(Level.FINE, "Did not find requested class: " + name, t);
+ }
+
+ return null;
+ }
+
+ /**
+ * Provides jvm implementation specific operation to aggressively release resources associated with <i>buffer</i>.
+ * @param buffer The {@code ByteBuffer} to release. Must not be {@code null}. Must be {@link ByteBuffer#isDirect() direct}.
+ */
+ static void releaseDirectByteBuffer(ByteBuffer buffer)
+ {
+ assert buffer != null && buffer.isDirect();
+
+ if (SUN_DIRECT_BUFFER != null && SUN_DIRECT_BUFFER.isAssignableFrom(buffer.getClass())) {
+ try {
+ Object cleaner = SUN_BUFFER_CLEANER.invoke(buffer, (Object[]) null);
+ SUN_CLEANER_CLEAN.invoke(cleaner, (Object[]) null);
+ } catch (Throwable t) {
+ Logger.getLogger(SnappyFramed.class.getName()).log(Level.FINE, "Exception occurred attempting to clean up Sun specific DirectByteBuffer.", t);
+ }
+ }
+ }
+}
diff --git a/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java b/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java
new file mode 100644
index 0000000..39e1493
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java
@@ -0,0 +1,558 @@
+/*
+ * Created: Apr 15, 2013
+ */
+package org.xerial.snappy;
+
+import static java.lang.Math.min;
+import static org.xerial.snappy.SnappyFramed.COMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.HEADER_BYTES;
+import static org.xerial.snappy.SnappyFramed.STREAM_IDENTIFIER_FLAG;
+import static org.xerial.snappy.SnappyFramed.UNCOMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.readBytes;
+import static org.xerial.snappy.SnappyFramed.releaseDirectByteBuffer;
+import static org.xerial.snappy.SnappyFramedOutputStream.MAX_BLOCK_SIZE;
+
+import java.io.EOFException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.ByteBuffer;
+import java.nio.channels.Channels;
+import java.nio.channels.ClosedChannelException;
+import java.nio.channels.ReadableByteChannel;
+import java.nio.channels.WritableByteChannel;
+import java.util.Arrays;
+
+/**
+ * Implements the <a
+ * href="http://snappy.googlecode.com/svn/trunk/framing_format.txt"
+ * >x-snappy-framed</a> as an {@link InputStream} and
+ * {@link ReadableByteChannel}.
+ *
+ * @author Brett Okken
+ * @since 1.1.0
+ */
+public final class SnappyFramedInputStream extends InputStream implements
+ ReadableByteChannel {
+
+ private final ReadableByteChannel rbc;
+ private final ByteBuffer frameHeader;
+ private final boolean verifyChecksums;
+
+ /**
+ * A single frame read from the underlying {@link InputStream}.
+ */
+ private ByteBuffer input;
+
+ /**
+ * The decompressed data from {@link #input}.
+ */
+ private ByteBuffer uncompressedDirect;
+
+ /**
+ * Indicates if this instance has been closed.
+ */
+ private boolean closed;
+
+ /**
+ * Indicates if we have reached the EOF on {@link #input}.
+ */
+ private boolean eof;
+
+ /**
+ * The position in {@link #input} buffer to read to.
+ */
+ private int valid;
+
+ /**
+ * The next position to read from {@link #buffer}.
+ */
+ private int position;
+
+ /**
+ * Buffer contains a copy of the uncompressed data for the block.
+ */
+ private byte[] buffer;
+
+ /**
+ * Creates a Snappy input stream to read data from the specified underlying
+ * input stream.
+ *
+ * @param in
+ * the underlying input stream. Must not be {@code null}.
+ */
+ public SnappyFramedInputStream(InputStream in) throws IOException {
+ this(in, true);
+ }
+
+ /**
+ * Creates a Snappy input stream to read data from the specified underlying
+ * input stream.
+ *
+ * @param in
+ * the underlying input stream. Must not be {@code null}.
+ * @param verifyChecksums
+ * if true, checksums in input stream will be verified
+ */
+ public SnappyFramedInputStream(InputStream in, boolean verifyChecksums)
+ throws IOException {
+ this(Channels.newChannel(in), verifyChecksums);
+ }
+
+ /**
+ * Creates a Snappy input stream to read data from the specified underlying
+ * channel.
+ *
+ * @param in
+ * the underlying readable channel. Must not be {@code null}.
+ */
+ public SnappyFramedInputStream(ReadableByteChannel in)
+ throws IOException {
+ this(in, true);
+ }
+
+ /**
+ * Creates a Snappy input stream to read data from the specified underlying
+ * channel.
+ *
+ * @param in
+ * the underlying readable channel. Must not be {@code null}.
+ * @param verifyChecksums
+ * if true, checksums in input stream will be verified
+ */
+ public SnappyFramedInputStream(ReadableByteChannel in,
+ boolean verifyChecksums) throws IOException {
+ if (in == null) {
+ throw new NullPointerException("in is null");
+ }
+
+ this.rbc = in;
+ this.verifyChecksums = verifyChecksums;
+
+ allocateBuffersBasedOnSize(MAX_BLOCK_SIZE + 5);
+ this.frameHeader = ByteBuffer.allocate(4);
+
+ // stream must begin with stream header
+ final byte[] expectedHeader = HEADER_BYTES;
+ final byte[] actualHeader = new byte[expectedHeader.length];
+ final ByteBuffer actualBuffer = ByteBuffer.wrap(actualHeader);
+
+ final int read = SnappyFramed.readBytes(in, actualBuffer);
+ if (read < expectedHeader.length) {
+ throw new EOFException(
+ "encountered EOF while reading stream header");
+ }
+ if (!Arrays.equals(expectedHeader, actualHeader)) {
+ throw new IOException("invalid stream header");
+ }
+ }
+
+ /**
+ * @param size
+ */
+ private void allocateBuffersBasedOnSize(int size) {
+
+ if (input != null) {
+ releaseDirectByteBuffer(input);
+ }
+
+ if (uncompressedDirect != null) {
+ releaseDirectByteBuffer(uncompressedDirect);
+ }
+
+ input = ByteBuffer.allocateDirect(size);
+ final int maxCompressedLength = Snappy.maxCompressedLength(size);
+ uncompressedDirect = ByteBuffer.allocateDirect(maxCompressedLength);
+ buffer = new byte[maxCompressedLength];
+ }
+
+ @Override
+ public int read() throws IOException {
+ if (closed) {
+ return -1;
+ }
+ if (!ensureBuffer()) {
+ return -1;
+ }
+ return buffer[position++] & 0xFF;
+ }
+
+ @Override
+ public int read(byte[] output, int offset, int length) throws IOException {
+
+ if (output == null) {
+ throw new IllegalArgumentException("output is null");
+ }
+
+ if (offset < 0 || length < 0 || offset + length > output.length) {
+ throw new IllegalArgumentException("invalid offset [" + offset
+ + "] and length [" + length + ']');
+ }
+
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ if (length == 0) {
+ return 0;
+ }
+ if (!ensureBuffer()) {
+ return -1;
+ }
+
+ final int size = min(length, available());
+ System.arraycopy(buffer, position, output, offset, size);
+ position += size;
+ return size;
+ }
+
+ @Override
+ public int available() throws IOException {
+ if (closed) {
+ return 0;
+ }
+ return valid - position;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public boolean isOpen() {
+ return !closed;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public int read(ByteBuffer dst) throws IOException {
+
+ if (dst == null) {
+ throw new IllegalArgumentException("dst is null");
+ }
+
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ if (dst.remaining() == 0) {
+ return 0;
+ }
+ if (!ensureBuffer()) {
+ return -1;
+ }
+
+ final int size = min(dst.remaining(), available());
+ dst.put(buffer, position, size);
+ position += size;
+ return size;
+ }
+
+ /**
+ * Transfers the entire content of this {@link InputStream} to <i>os</i>.
+ * This potentially limits the amount of buffering required to decompress
+ * content.
+ * <p>
+ * Unlike {@link #read(byte[], int, int)}, this method does not need to be
+ * called multiple times. A single call will transfer all available content.
+ * Any calls after the source has been exhausted will result in a return
+ * value of {@code 0}.
+ * </p>
+ *
+ * @param os
+ * The destination to write decompressed content to.
+ * @return The number of bytes transferred.
+ * @throws IOException
+ * @since 1.1.1
+ */
+ public long transferTo(OutputStream os) throws IOException {
+ if (os == null) {
+ throw new IllegalArgumentException("os is null");
+ }
+
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ long totTransfered = 0;
+
+ while (ensureBuffer()) {
+ final int available = available();
+ os.write(buffer, position, available);
+ position += available;
+ totTransfered += available;
+ }
+
+ return totTransfered;
+ }
+
+ /**
+ * Transfers the entire content of this {@link ReadableByteChannel} to
+ * <i>wbc</i>. This potentially limits the amount of buffering required to
+ * decompress content.
+ *
+ * <p>
+ * Unlike {@link #read(ByteBuffer)}, this method does not need to be called
+ * multiple times. A single call will transfer all available content. Any
+ * calls after the source has been exhausted will result in a return value
+ * of {@code 0}.
+ * </p>
+ *
+ * @param wbc
+ * The destination to write decompressed content to.
+ * @return The number of bytes transferred.
+ * @throws IOException
+ * @since 1.1.1
+ */
+ public long transferTo(WritableByteChannel wbc) throws IOException {
+ if (wbc == null) {
+ throw new IllegalArgumentException("wbc is null");
+ }
+
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ final ByteBuffer bb = ByteBuffer.wrap(buffer);
+
+ long totTransfered = 0;
+
+ while (ensureBuffer()) {
+ bb.clear();
+ bb.position(position);
+ bb.limit(position + available());
+
+ wbc.write(bb);
+
+ final int written = bb.position() - position;
+ position += written;
+
+ totTransfered += written;
+ }
+
+ return totTransfered;
+ }
+
+ @Override
+ public void close() throws IOException {
+ try {
+ rbc.close();
+ } finally {
+ if (!closed) {
+ closed = true;
+ }
+
+ if (input != null) {
+ releaseDirectByteBuffer(input);
+ }
+
+ if (uncompressedDirect != null) {
+ releaseDirectByteBuffer(uncompressedDirect);
+ }
+ }
+ }
+
+ static enum FrameAction {
+ RAW, SKIP, UNCOMPRESS;
+ }
+
+ public static final class FrameMetaData {
+ final int length;
+ final FrameAction frameAction;
+
+ /**
+ * @param frameAction
+ * @param length
+ */
+ public FrameMetaData(FrameAction frameAction, int length) {
+ super();
+ this.frameAction = frameAction;
+ this.length = length;
+ }
+ }
+
+ public static final class FrameData {
+ final int checkSum;
+ final int offset;
+
+ /**
+ * @param checkSum
+ * @param offset
+ */
+ public FrameData(int checkSum, int offset) {
+ super();
+ this.checkSum = checkSum;
+ this.offset = offset;
+ }
+ }
+
+ private boolean ensureBuffer() throws IOException {
+ if (available() > 0) {
+ return true;
+ }
+ if (eof) {
+ return false;
+ }
+
+ if (!readBlockHeader()) {
+ eof = true;
+ return false;
+ }
+
+ // get action based on header
+ final FrameMetaData frameMetaData = getFrameMetaData(frameHeader);
+
+ if (FrameAction.SKIP == frameMetaData.frameAction) {
+ SnappyFramed.skip(rbc, frameMetaData.length,
+ ByteBuffer.wrap(buffer));
+ return ensureBuffer();
+ }
+
+ if (frameMetaData.length > input.capacity()) {
+ allocateBuffersBasedOnSize(frameMetaData.length);
+ }
+
+ input.clear();
+ input.limit(frameMetaData.length);
+
+ final int actualRead = readBytes(rbc, input);
+ if (actualRead != frameMetaData.length) {
+ throw new EOFException("unexpectd EOF when reading frame");
+ }
+ input.flip();
+
+ final FrameData frameData = getFrameData(input);
+
+ if (FrameAction.UNCOMPRESS == frameMetaData.frameAction) {
+
+ input.position(frameData.offset);
+
+ final int uncompressedLength = Snappy.uncompressedLength(input);
+
+ if (uncompressedLength > uncompressedDirect.capacity()) {
+ uncompressedDirect = ByteBuffer
+ .allocateDirect(uncompressedLength);
+ buffer = new byte[Math.max(input.capacity(), uncompressedLength)];
+ }
+
+ uncompressedDirect.clear();
+
+ this.valid = Snappy.uncompress(input, uncompressedDirect);
+
+ uncompressedDirect.get(buffer, 0, valid);
+ this.position = 0;
+ } else {
+ // we need to start reading at the offset
+ input.position(frameData.offset);
+ this.position = 0;
+ this.valid = input.remaining();
+ this.input.get(buffer, 0, input.remaining());
+ }
+
+ if (verifyChecksums) {
+ final int actualCrc32c = SnappyFramed.maskedCrc32c(buffer,
+ position, valid - position);
+ if (frameData.checkSum != actualCrc32c) {
+ throw new IOException("Corrupt input: invalid checksum");
+ }
+ }
+
+ return true;
+ }
+
+ private boolean readBlockHeader() throws IOException {
+ frameHeader.clear();
+ int read = readBytes(rbc, frameHeader);
+
+ if (read == -1) {
+ return false;
+ }
+
+ if (read < frameHeader.capacity()) {
+ throw new EOFException("encountered EOF while reading block header");
+ }
+ frameHeader.flip();
+
+ return true;
+ }
+
+ /**
+ *
+ * @param frameHeader
+ * @return
+ * @throws IOException
+ */
+ private FrameMetaData getFrameMetaData(ByteBuffer frameHeader)
+ throws IOException {
+
+ assert frameHeader.hasArray();
+
+ final byte[] frameHeaderArray = frameHeader.array();
+
+ int length = (frameHeaderArray[1] & 0xFF);
+ length |= (frameHeaderArray[2] & 0xFF) << 8;
+ length |= (frameHeaderArray[3] & 0xFF) << 16;
+
+ int minLength = 0;
+ final FrameAction frameAction;
+ final int flag = frameHeaderArray[0] & 0xFF;
+ switch (flag) {
+ case COMPRESSED_DATA_FLAG:
+ frameAction = FrameAction.UNCOMPRESS;
+ minLength = 5;
+ break;
+ case UNCOMPRESSED_DATA_FLAG:
+ frameAction = FrameAction.RAW;
+ minLength = 5;
+ break;
+ case STREAM_IDENTIFIER_FLAG:
+ if (length != 6) {
+ throw new IOException(
+ "stream identifier chunk with invalid length: "
+ + length);
+ }
+ frameAction = FrameAction.SKIP;
+ minLength = 6;
+ break;
+ default:
+ // Reserved unskippable chunks (chunk types 0x02-0x7f)
+ if (flag <= 0x7f) {
+ throw new IOException("unsupported unskippable chunk: "
+ + Integer.toHexString(flag));
+ }
+
+ // all that is left is Reserved skippable chunks (chunk types
+ // 0x80-0xfe)
+ frameAction = FrameAction.SKIP;
+ minLength = 0;
+ }
+
+ if (length < minLength) {
+ throw new IOException("invalid length: " + length
+ + " for chunk flag: " + Integer.toHexString(flag));
+ }
+
+ return new FrameMetaData(frameAction, length);
+ }
+
+ /**
+ *
+ * @param content
+ * @return
+ * @throws IOException
+ */
+ private FrameData getFrameData(ByteBuffer content) throws IOException {
+ return new FrameData(getCrc32c(content), 4);
+ }
+
+ private int getCrc32c(ByteBuffer content) {
+
+ final int position = content.position();
+
+ return ((content.get(position + 3) & 0xFF) << 24)
+ | ((content.get(position + 2) & 0xFF) << 16)
+ | ((content.get(position + 1) & 0xFF) << 8)
+ | (content.get(position) & 0xFF);
+ }
+}
diff --git a/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java b/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java
new file mode 100644
index 0000000..c36ff4b
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java
@@ -0,0 +1,452 @@
+/*
+ * Created: Apr 12, 2013
+ */
+package org.xerial.snappy;
+
+import static org.xerial.snappy.SnappyFramed.COMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.HEADER_BYTES;
+import static org.xerial.snappy.SnappyFramed.UNCOMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.maskedCrc32c;
+import static org.xerial.snappy.SnappyFramed.releaseDirectByteBuffer;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.ByteBuffer;
+import java.nio.ByteOrder;
+import java.nio.channels.Channels;
+import java.nio.channels.ClosedChannelException;
+import java.nio.channels.ReadableByteChannel;
+import java.nio.channels.WritableByteChannel;
+
+/**
+ * Implements the <a
+ * href="http://snappy.googlecode.com/svn/trunk/framing_format.txt"
+ * >x-snappy-framed</a> as an {@link OutputStream} and
+ * {@link WritableByteChannel}.
+ *
+ * @author Brett Okken
+ * @since 1.1.0
+ */
+public final class SnappyFramedOutputStream extends OutputStream implements
+ WritableByteChannel {
+
+ /**
+ * The x-snappy-framed specification allows for a chunk size up to
+ * 16,777,211 bytes in length. However, it also goes on to state:
+ * <p>
+ * <code>
+ * We place an additional restriction that the uncompressed data in a chunk
+ * must be no longer than 65536 bytes. This allows consumers to easily use
+ * small fixed-size buffers.
+ * </code>
+ * </p>
+ */
+ public static final int MAX_BLOCK_SIZE = 64 * 1024;
+
+ /**
+ * The default block size to use.
+ */
+ public static final int DEFAULT_BLOCK_SIZE = MAX_BLOCK_SIZE;
+
+ /**
+ * The default min compression ratio to use.
+ */
+ public static final double DEFAULT_MIN_COMPRESSION_RATIO = 0.85d;
+
+ private final ByteBuffer headerBuffer = ByteBuffer.allocate(8).order(
+ ByteOrder.LITTLE_ENDIAN);
+ private final ByteBuffer buffer;
+ private final ByteBuffer directInputBuffer;
+ private final ByteBuffer outputBuffer;
+ private final double minCompressionRatio;
+
+ private final WritableByteChannel out;
+
+ // private int position;
+ private boolean closed;
+
+ /**
+ * Creates a new {@link SnappyFramedOutputStream} using the {@link #DEFAULT_BLOCK_SIZE}
+ * and {@link #DEFAULT_MIN_COMPRESSION_RATIO}.
+ * @param out
+ * The underlying {@link OutputStream} to write to. Must not be
+ * {@code null}.
+ * @throws IOException
+ */
+ public SnappyFramedOutputStream(OutputStream out) throws IOException {
+ this(out, DEFAULT_BLOCK_SIZE, DEFAULT_MIN_COMPRESSION_RATIO);
+ }
+
+ /**
+ * Creates a new {@link SnappyFramedOutputStream} instance.
+ *
+ * @param out
+ * The underlying {@link OutputStream} to write to. Must not be
+ * {@code null}.
+ * @param blockSize
+ * The block size (of raw data) to compress before writing frames
+ * to <i>out</i>. Must be in (0, 65536].
+ * @param minCompressionRatio
+ * Defines the minimum compression ratio (
+ * {@code compressedLength / rawLength}) that must be achieved to
+ * write the compressed data. This must be in (0, 1.0].
+ * @throws IOException
+ */
+ public SnappyFramedOutputStream(OutputStream out, int blockSize,
+ double minCompressionRatio) throws IOException {
+ this(Channels.newChannel(out), blockSize, minCompressionRatio);
+ }
+
+ /**
+ * Creates a new {@link SnappyFramedOutputStream} using the
+ * {@link #DEFAULT_BLOCK_SIZE} and {@link #DEFAULT_MIN_COMPRESSION_RATIO}.
+ *
+ * @param out
+ * The underlying {@link WritableByteChannel} to write to. Must
+ * not be {@code null}.
+ * @since 1.1.1
+ * @throws IOException
+ */
+ public SnappyFramedOutputStream(WritableByteChannel out) throws IOException {
+ this(out, DEFAULT_BLOCK_SIZE, DEFAULT_MIN_COMPRESSION_RATIO);
+ }
+
+ /**
+ * Creates a new {@link SnappyFramedOutputStream} instance.
+ *
+ * @param out
+ * The underlying {@link WritableByteChannel} to write to. Must
+ * not be {@code null}.
+ * @param blockSize
+ * The block size (of raw data) to compress before writing frames
+ * to <i>out</i>. Must be in (0, 65536].
+ * @param minCompressionRatio
+ * Defines the minimum compression ratio (
+ * {@code compressedLength / rawLength}) that must be achieved to
+ * write the compressed data. This must be in (0, 1.0].
+ * @since 1.1.1
+ * @throws IOException
+ */
+ public SnappyFramedOutputStream(WritableByteChannel out, int blockSize,
+ double minCompressionRatio) throws IOException {
+ if (out == null) {
+ throw new NullPointerException();
+ }
+
+ if (minCompressionRatio <= 0 || minCompressionRatio > 1.0) {
+ throw new IllegalArgumentException("minCompressionRatio "
+ + minCompressionRatio + " must be in (0,1.0]");
+ }
+
+ if (blockSize <= 0 || blockSize > MAX_BLOCK_SIZE) {
+ throw new IllegalArgumentException("block size " + blockSize
+ + " must be in (0, 65536]");
+ }
+
+ this.out = out;
+ this.minCompressionRatio = minCompressionRatio;
+ buffer = ByteBuffer.allocate(blockSize);
+ directInputBuffer = ByteBuffer.allocateDirect(blockSize);
+ outputBuffer = ByteBuffer.allocateDirect(Snappy
+ .maxCompressedLength(blockSize));
+
+ writeHeader(out);
+ }
+
+ /**
+ * Writes the implementation specific header or "marker bytes" to
+ * <i>out</i>.
+ *
+ * @param out
+ * The underlying {@link OutputStream}.
+ * @throws IOException
+ */
+ private void writeHeader(WritableByteChannel out) throws IOException {
+ out.write(ByteBuffer.wrap(HEADER_BYTES));
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public boolean isOpen() {
+ return !closed;
+ }
+
+ @Override
+ public void write(int b) throws IOException {
+ if (closed) {
+ throw new IOException("Stream is closed");
+ }
+ if (buffer.remaining() <= 0) {
+ flushBuffer();
+ }
+ buffer.put((byte) b);
+ }
+
+ @Override
+ public void write(byte[] input, int offset, int length) throws IOException {
+ if (closed) {
+ throw new IOException("Stream is closed");
+ }
+
+ if (input == null) {
+ throw new NullPointerException();
+ } else if ((offset < 0) || (offset > input.length) || (length < 0)
+ || ((offset + length) > input.length)
+ || ((offset + length) < 0)) {
+ throw new IndexOutOfBoundsException();
+ }
+
+ while (length > 0) {
+ if (buffer.remaining() <= 0) {
+ flushBuffer();
+ }
+
+ final int toPut = Math.min(length, buffer.remaining());
+ buffer.put(input, offset, toPut);
+ offset += toPut;
+ length -= toPut;
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public int write(ByteBuffer src) throws IOException {
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ if (buffer.remaining() <= 0) {
+ flushBuffer();
+ }
+
+ final int srcLength = src.remaining();
+
+ // easy case: enough free space in buffer for entire input
+ if (buffer.remaining() >= src.remaining()) {
+ buffer.put(src);
+ return srcLength;
+ }
+
+ // store current limit
+ final int srcEnd = src.position() + src.remaining();
+
+ while ((src.position() + buffer.remaining()) <= srcEnd) {
+ // fill partial buffer as much as possible and flush
+ src.limit(src.position() + buffer.remaining());
+ buffer.put(src);
+ flushBuffer();
+ }
+
+ // reset original limit
+ src.limit(srcEnd);
+
+ // copy remaining partial block into now-empty buffer
+ buffer.put(src);
+
+ return srcLength;
+ }
+
+ /**
+ * Transfers all the content from <i>is</i> to this {@link OutputStream}.
+ * This potentially limits the amount of buffering required to compress
+ * content.
+ *
+ * @param is
+ * The source of data to compress.
+ * @return The number of bytes read from <i>is</i>.
+ * @throws IOException
+ * @since 1.1.1
+ */
+ public long transferFrom(InputStream is) throws IOException {
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ if (is == null) {
+ throw new NullPointerException();
+ }
+
+ if (buffer.remaining() == 0) {
+ flushBuffer();
+ }
+
+ assert buffer.hasArray();
+ final byte[] bytes = buffer.array();
+
+ final int arrayOffset = buffer.arrayOffset();
+ long totTransfered = 0;
+ int read;
+ while ((read = is.read(bytes, arrayOffset + buffer.position(),
+ buffer.remaining())) != -1) {
+ buffer.position(buffer.position() + read);
+
+ if (buffer.remaining() == 0) {
+ flushBuffer();
+ }
+
+ totTransfered += read;
+ }
+
+ return totTransfered;
+ }
+
+ /**
+ * Transfers all the content from <i>rbc</i> to this
+ * {@link WritableByteChannel}. This potentially limits the amount of
+ * buffering required to compress content.
+ *
+ * @param rbc
+ * The source of data to compress.
+ * @return The number of bytes read from <i>rbc</i>.
+ * @throws IOException
+ * @since 1.1.1
+ */
+ public long transferFrom(ReadableByteChannel rbc) throws IOException {
+ if (closed) {
+ throw new ClosedChannelException();
+ }
+
+ if (rbc == null) {
+ throw new NullPointerException();
+ }
+
+ if (buffer.remaining() == 0) {
+ flushBuffer();
+ }
+
+ long totTransfered = 0;
+ int read;
+ while ((read = rbc.read(buffer)) != -1) {
+ if (buffer.remaining() == 0) {
+ flushBuffer();
+ }
+
+ totTransfered += read;
+ }
+
+ return totTransfered;
+ }
+
+ @Override
+ public final void flush() throws IOException {
+ if (closed) {
+ throw new IOException("Stream is closed");
+ }
+ flushBuffer();
+ }
+
+ @Override
+ public final void close() throws IOException {
+ if (closed) {
+ return;
+ }
+ try {
+ flush();
+ out.close();
+ } finally {
+ closed = true;
+
+ releaseDirectByteBuffer(directInputBuffer);
+ releaseDirectByteBuffer(outputBuffer);
+ }
+ }
+
+ /**
+ * Compresses and writes out any buffered data. This does nothing if there
+ * is no currently buffered data.
+ *
+ * @throws IOException
+ */
+ private void flushBuffer() throws IOException {
+ if (buffer.position() > 0) {
+ buffer.flip();
+ writeCompressed(buffer);
+ buffer.clear();
+ }
+ }
+
+ /**
+ * {@link SnappyFramed#maskedCrc32c(byte[], int, int)} the crc, compresses
+ * the data, determines if the compression ratio is acceptable and calls
+ * {@link #writeBlock(java.nio.channels.WritableByteChannel, java.nio.ByteBuffer, boolean, int)} to
+ * actually write the frame.
+ *
+ * @param buffer
+
+ * @throws IOException
+ */
+ private void writeCompressed(ByteBuffer buffer) throws IOException {
+
+ final byte[] input = buffer.array();
+ final int length = buffer.remaining();
+
+ // crc is based on the user supplied input data
+ final int crc32c = maskedCrc32c(input, 0, length);
+
+ directInputBuffer.clear();
+ directInputBuffer.put(buffer);
+ directInputBuffer.flip();
+
+ outputBuffer.clear();
+ Snappy.compress(directInputBuffer, outputBuffer);
+
+ final int compressedLength = outputBuffer.remaining();
+
+ // only use the compressed data if compression ratio is <= the
+ // minCompressonRatio
+ if (((double) compressedLength / (double) length) <= minCompressionRatio) {
+ writeBlock(out, outputBuffer, true, crc32c);
+ } else {
+ // otherwise use the uncompressed data.
+ buffer.flip();
+ writeBlock(out, buffer, false, crc32c);
+ }
+ }
+
+ /**
+ * Write a frame (block) to <i>out</i>.
+ *
+ * @param out
+ * The {@link OutputStream} to write to.
+ * @param data
+ * The data to write.
+ * @param compressed
+ * Indicates if <i>data</i> is the compressed or raw content.
+ * This is based on whether the compression ratio desired is
+ * reached.
+ * @param crc32c
+ * The calculated checksum.
+ * @throws IOException
+ */
+ private void writeBlock(final WritableByteChannel out, ByteBuffer data,
+ boolean compressed, int crc32c) throws IOException {
+
+ headerBuffer.clear();
+ headerBuffer.put((byte) (compressed ? COMPRESSED_DATA_FLAG
+ : UNCOMPRESSED_DATA_FLAG));
+
+ // the length written out to the header is both the checksum and the
+ // frame
+ final int headerLength = data.remaining() + 4;
+
+ // write length
+ headerBuffer.put((byte) headerLength);
+ headerBuffer.put((byte) (headerLength >>> 8));
+ headerBuffer.put((byte) (headerLength >>> 16));
+
+ // write crc32c of user input data
+ headerBuffer.putInt(crc32c);
+
+ headerBuffer.flip();
+
+ // write the header
+ out.write(headerBuffer);
+ // write the raw data
+ out.write(data);
+ }
+}
diff --git a/src/main/java/org/xerial/snappy/SnappyIOException.java b/src/main/java/org/xerial/snappy/SnappyIOException.java
new file mode 100644
index 0000000..ee4c60c
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/SnappyIOException.java
@@ -0,0 +1,23 @@
+package org.xerial.snappy;
+
+import java.io.IOException;
+
+/**
+ * Enhanced IOException with SnappyErrorCode
+ */
+public class SnappyIOException extends IOException {
+ private final SnappyErrorCode errorCode;
+
+ public SnappyIOException(SnappyErrorCode errorCode, String message) {
+ super(message);
+ this.errorCode = errorCode;
+ }
+
+ @Override
+ public String getMessage() {
+ return String.format("[%s] %s", errorCode.name(), super.getMessage());
+ }
+
+ public SnappyErrorCode getErrorCode() { return errorCode; }
+
+}
diff --git a/src/main/java/org/xerial/snappy/SnappyInputStream.java b/src/main/java/org/xerial/snappy/SnappyInputStream.java
old mode 100644
new mode 100755
index 3546838..a56dff1
--- a/src/main/java/org/xerial/snappy/SnappyInputStream.java
+++ b/src/main/java/org/xerial/snappy/SnappyInputStream.java
@@ -82,7 +82,11 @@ public class SnappyInputStream extends InputStream
readBytes += ret;
}
- // Quick test of the header
+ // Quick test of the header
+ if(readBytes == 0) {
+ // Snappy produces at least 1-byte result. So the empty input is not a valid input
+ throw new SnappyIOException(SnappyErrorCode.EMPTY_INPUT, "Cannot decompress empty stream");
+ }
if (readBytes < header.length || header[0] != SnappyCodec.MAGIC_HEADER[0]) {
// do the default uncompression
readFully(header, readBytes);
@@ -93,8 +97,8 @@ public class SnappyInputStream extends InputStream
if (codec.isValidMagicHeader()) {
// The input data is compressed by SnappyOutputStream
if (codec.version < SnappyCodec.MINIMUM_COMPATIBLE_VERSION) {
- throw new IOException(String.format(
- "compressed with imcompatible codec version %d. At least version %d is required",
+ throw new SnappyIOException(SnappyErrorCode.INCOMPATIBLE_VERSION, String.format(
+ "Compressed with an incompatible codec version %d. At least version %d is required",
codec.version, SnappyCodec.MINIMUM_COMPATIBLE_VERSION));
}
}
@@ -106,7 +110,11 @@ public class SnappyInputStream extends InputStream
}
protected void readFully(byte[] fragment, int fragmentLength) throws IOException {
- // read the entire input data to the buffer
+ if(fragmentLength == 0) {
+ finishedReading = true;
+ return;
+ }
+ // read the entire input data to the buffer
compressed = new byte[Math.max(8 * 1024, fragmentLength)]; // 8K
System.arraycopy(fragment, 0, compressed, 0, fragmentLength);
int cursor = fragmentLength;
@@ -154,6 +162,7 @@ public class SnappyInputStream extends InputStream
public int rawRead(Object array, int byteOffset, int byteLength) throws IOException {
int writtenBytes = 0;
for (; writtenBytes < byteLength;) {
+
if (uncompressedCursor >= uncompressedLimit) {
if (hasNextChunk())
continue;
@@ -346,20 +355,15 @@ public class SnappyInputStream extends InputStream
if (readBytes < chunkSize) {
throw new IOException("failed to read chunk");
}
- try {
- int uncompressedLength = Snappy.uncompressedLength(compressed, 0, chunkSize);
- if (uncompressed == null || uncompressedLength > uncompressed.length) {
- uncompressed = new byte[uncompressedLength];
- }
- int actualUncompressedLength = Snappy.uncompress(compressed, 0, chunkSize, uncompressed, 0);
- if (uncompressedLength != actualUncompressedLength) {
- throw new IOException("invalid uncompressed byte size");
- }
- uncompressedLimit = actualUncompressedLength;
+ int uncompressedLength = Snappy.uncompressedLength(compressed, 0, chunkSize);
+ if (uncompressed == null || uncompressedLength > uncompressed.length) {
+ uncompressed = new byte[uncompressedLength];
}
- catch (IOException e) {
- throw new IOException("failed to uncompress the chunk: " + e.getMessage());
+ int actualUncompressedLength = Snappy.uncompress(compressed, 0, chunkSize, uncompressed, 0);
+ if (uncompressedLength != actualUncompressedLength) {
+ throw new SnappyIOException(SnappyErrorCode.INVALID_CHUNK_SIZE, String.format("expected %,d bytes, but decompressed chunk has %,d bytes", uncompressedLength, actualUncompressedLength));
}
+ uncompressedLimit = actualUncompressedLength;
return true;
}
@@ -387,4 +391,21 @@ public class SnappyInputStream extends InputStream
}
}
+ /* (non-Javadoc)
+ * @see java.io.InputStream#available()
+ */
+ @Override
+ public int available() throws IOException {
+ if (uncompressedCursor < uncompressedLimit) {
+ return uncompressedLimit - uncompressedCursor;
+ }
+ else {
+ if (hasNextChunk()) {
+ return uncompressedLimit - uncompressedCursor;
+ }
+ else {
+ return 0;
+ }
+ }
+ }
}
diff --git a/src/main/java/org/xerial/snappy/SnappyLoader.java b/src/main/java/org/xerial/snappy/SnappyLoader.java
old mode 100644
new mode 100755
index 4a33396..854bb1c
--- a/src/main/java/org/xerial/snappy/SnappyLoader.java
+++ b/src/main/java/org/xerial/snappy/SnappyLoader.java
@@ -24,24 +24,11 @@
//--------------------------------------
package org.xerial.snappy;
-import java.io.BufferedInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
+import java.io.*;
import java.net.URL;
-import java.security.DigestInputStream;
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-import java.security.ProtectionDomain;
-import java.util.ArrayList;
import java.util.Enumeration;
-import java.util.List;
import java.util.Properties;
+import java.util.UUID;
/**
* <b>Internal only - Do not use this class.</b> This class loads a native
@@ -93,9 +80,26 @@ public class SnappyLoader
public static final String KEY_SNAPPY_USE_SYSTEMLIB = "org.xerial.snappy.use.systemlib";
public static final String KEY_SNAPPY_DISABLE_BUNDLED_LIBS = "org.xerial.snappy.disable.bundled.libs"; // Depreciated, but preserved for backward compatibility
- private static boolean isLoaded = false;
- private static Object api = null;
+ private static volatile boolean isLoaded = false;
+ private static volatile SnappyNative api = null;
+ private static File nativeLibFile = null;
+
+ static void cleanUpExtractedNativeLib() {
+ if(nativeLibFile != null && nativeLibFile.exists())
+ nativeLibFile.delete();
+ }
+
+ /**
+ * Set the api instance.
+ *
+ * @param nativeCode
+ */
+ static synchronized void setApi(SnappyNative nativeCode)
+ {
+ api = nativeCode;
+ }
+
/**
* load system properties when configuration file of the name
* {@link #SNAPPY_SYSTEM_PROPERTIES_FILE} is found
@@ -132,97 +136,16 @@ public class SnappyLoader
loadSnappySystemProperties();
}
- private static ClassLoader getRootClassLoader() {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- while (cl.getParent() != null) {
- cl = cl.getParent();
- }
- return cl;
- }
-
- private static byte[] getByteCode(String resourcePath) throws IOException {
-
- InputStream in = SnappyLoader.class.getResourceAsStream(resourcePath);
- if (in == null)
- throw new IOException(resourcePath + " is not found");
- byte[] buf = new byte[1024];
- ByteArrayOutputStream byteCodeBuf = new ByteArrayOutputStream();
- for (int readLength; (readLength = in.read(buf)) != -1;) {
- byteCodeBuf.write(buf, 0, readLength);
- }
- in.close();
-
- return byteCodeBuf.toByteArray();
- }
-
- public static boolean isNativeLibraryLoaded() {
- return isLoaded;
- }
-
- private static boolean hasInjectedNativeLoader() {
- try {
- final String nativeLoaderClassName = "org.xerial.snappy.SnappyNativeLoader";
- Class< ? > c = Class.forName(nativeLoaderClassName);
- // If this native loader class is already defined, it means that another class loader already loaded the native library of snappy
- return true;
- }
- catch (ClassNotFoundException e) {
- // do loading
- return false;
- }
- }
-
- /**
- * Load SnappyNative and its JNI native implementation using the root class
- * loader. This hack is for avoiding the JNI multi-loading issue when the
- * same JNI library is loaded by different class loaders.
- *
- * In order to load native code in the root class loader, this method first
- * inject SnappyNativeLoader class into the root class loader, because
- * {@link System#load(String)} method uses the class loader of the caller
- * class when loading native libraries.
- *
- * <pre>
- * (root class loader) -> [SnappyNativeLoader (load JNI code), SnappyNative (has native methods), SnappyNativeAPI, SnappyErrorCode] (injected by this method)
- * |
- * |
- * (child class loader) -> Sees the above classes loaded by the root class loader.
- * Then creates SnappyNativeAPI implementation by instantiating SnappyNaitive class.
- * </pre>
- *
- *
- * <pre>
- * (root class loader) -> [SnappyNativeLoader, SnappyNative ...] -> native code is loaded by once in this class loader
- * | \
- * | (child2 class loader)
- * (child1 class loader)
- *
- * child1 and child2 share the same SnappyNative code loaded by the root class loader.
- * </pre>
- *
- * Note that Java's class loader first delegates the class lookup to its
- * parent class loader. So once SnappyNativeLoader is loaded by the root
- * class loader, no child class loader initialize SnappyNativeLoader again.
- *
- * @return
- */
- static synchronized Object load() {
-
+ static synchronized SnappyNative load()
+ {
if (api != null)
return api;
try {
- if (!hasInjectedNativeLoader()) {
- // Inject SnappyNativeLoader (src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode) to the root class loader
- Class< ? > nativeLoader = injectSnappyNativeLoader();
- // Load the JNI code using the injected loader
- loadNativeLibrary(nativeLoader);
- }
+ loadNativeLibrary();
+ setApi(new SnappyNative());
isLoaded = true;
- // Look up SnappyNative, injected to the root classloder, using reflection in order to avoid the initialization of SnappyNative class in this context class loader.
- Object nativeCode = Class.forName("org.xerial.snappy.SnappyNative").newInstance();
- api = nativeCode;
}
catch (Exception e) {
e.printStackTrace();
@@ -233,119 +156,40 @@ public class SnappyLoader
}
/**
- * Inject SnappyNativeLoader class to the root class loader
- *
- * @return native code loader class initialized in the root class loader
+ * Load a native library of snappy-java
*/
- private static Class< ? > injectSnappyNativeLoader() {
-
- try {
- // Use parent class loader to load SnappyNative, since Tomcat, which uses different class loaders for each webapps, cannot load JNI interface twice
-
- final String nativeLoaderClassName = "org.xerial.snappy.SnappyNativeLoader";
- ClassLoader rootClassLoader = getRootClassLoader();
- // Load a byte code
- byte[] byteCode = getByteCode("/org/xerial/snappy/SnappyNativeLoader.bytecode");
- // In addition, we need to load the other dependent classes (e.g., SnappyNative and SnappyException) using the system class loader
- final String[] classesToPreload = new String[] { "org.xerial.snappy.SnappyNativeAPI",
- "org.xerial.snappy.SnappyNative", "org.xerial.snappy.SnappyErrorCode" };
- List<byte[]> preloadClassByteCode = new ArrayList<byte[]>(classesToPreload.length);
- for (String each : classesToPreload) {
- preloadClassByteCode.add(getByteCode(String.format("/%s.class", each.replaceAll("\\.", "/"))));
- }
-
- // Create SnappyNativeLoader class from a byte code
- Class< ? > classLoader = Class.forName("java.lang.ClassLoader");
- Method defineClass = classLoader.getDeclaredMethod("defineClass", new Class[] { String.class, byte[].class,
- int.class, int.class, ProtectionDomain.class });
-
- ProtectionDomain pd = System.class.getProtectionDomain();
-
- // ClassLoader.defineClass is a protected method, so we have to make it accessible
- defineClass.setAccessible(true);
- try {
- // Create a new class using a ClassLoader#defineClass
- defineClass.invoke(rootClassLoader, nativeLoaderClassName, byteCode, 0, byteCode.length, pd);
-
- // And also define dependent classes in the root class loader
- for (int i = 0; i < classesToPreload.length; ++i) {
- byte[] b = preloadClassByteCode.get(i);
- defineClass.invoke(rootClassLoader, classesToPreload[i], b, 0, b.length, pd);
- }
- }
- finally {
- // Reset the accessibility to defineClass method
- defineClass.setAccessible(false);
- }
+ private static void loadNativeLibrary() {
- // Load the SnappyNativeLoader class
- return rootClassLoader.loadClass(nativeLoaderClassName);
-
- }
- catch (Exception e) {
- e.printStackTrace(System.err);
- throw new SnappyError(SnappyErrorCode.FAILED_TO_LOAD_NATIVE_LIBRARY, e.getMessage());
- }
-
- }
-
- /**
- * Load snappy-java's native code using load method of the
- * SnappyNativeLoader class injected to the root class loader.
- *
- * @param loaderClass
- * @throws SecurityException
- * @throws NoSuchMethodException
- * @throws IllegalArgumentException
- * @throws IllegalAccessException
- * @throws InvocationTargetException
- */
- private static void loadNativeLibrary(Class< ? > loaderClass) throws SecurityException, NoSuchMethodException,
- IllegalArgumentException, IllegalAccessException, InvocationTargetException {
- if (loaderClass == null)
- throw new SnappyError(SnappyErrorCode.FAILED_TO_LOAD_NATIVE_LIBRARY, "missing snappy native loader class");
-
- File nativeLib = findNativeLibrary();
- if (nativeLib != null) {
- // Load extracted or specified snappyjava native library.
- Method loadMethod = loaderClass.getDeclaredMethod("load", new Class[] { String.class });
- loadMethod.invoke(null, nativeLib.getAbsolutePath());
+ nativeLibFile = findNativeLibrary();
+ if (nativeLibFile != null) {
+ // Load extracted or specified snappyjava native library.
+ System.load(nativeLibFile.getAbsolutePath());
}
else {
- // Load preinstalled snappyjava (in the path -Djava.library.path)
- Method loadMethod = loaderClass.getDeclaredMethod("loadLibrary", new Class[] { String.class });
- loadMethod.invoke(null, "snappyjava");
+ // Load preinstalled snappyjava (in the path -Djava.library.path)
+ System.loadLibrary("snappyjava");
}
}
- /**
- * Computes the MD5 value of the input stream
- *
- * @param input
- * @return
- * @throws IOException
- * @throws NoSuchAlgorithmException
- */
- static String md5sum(InputStream input) throws IOException {
- BufferedInputStream in = new BufferedInputStream(input);
- try {
- MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
- DigestInputStream digestInputStream = new DigestInputStream(in, digest);
- for (; digestInputStream.read() >= 0;) {
- }
- ByteArrayOutputStream md5out = new ByteArrayOutputStream();
- md5out.write(digest.digest());
- return md5out.toString();
+ private static boolean contentsEquals(InputStream in1, InputStream in2) throws IOException {
+ if(!(in1 instanceof BufferedInputStream)) {
+ in1 = new BufferedInputStream(in1);
}
- catch (NoSuchAlgorithmException e) {
- throw new IllegalStateException("MD5 algorithm is not available: " + e);
+ if(!(in2 instanceof BufferedInputStream)) {
+ in2 = new BufferedInputStream(in2);
}
- finally {
- in.close();
+
+ int ch = in1.read();
+ while(ch != -1) {
+ int ch2 = in2.read();
+ if(ch != ch2)
+ return false;
+ ch = in1.read();
}
+ int ch2 = in2.read();
+ return ch2 == -1;
}
-
/**
* Extract the specified library file to the target folder
*
@@ -356,48 +200,53 @@ public class SnappyLoader
*/
private static File extractLibraryFile(String libFolderForCurrentOS, String libraryFileName, String targetFolder) {
String nativeLibraryFilePath = libFolderForCurrentOS + "/" + libraryFileName;
- final String prefix = "snappy-" + getVersion() + "-";
- String extractedLibFileName = prefix + libraryFileName;
+
+ // Attach UUID to the native library file to ensure multiple class loaders can read the libsnappy-java multiple times.
+ String uuid = UUID.randomUUID().toString();
+ String extractedLibFileName = String.format("snappy-%s-%s-%s", getVersion(), uuid, libraryFileName);
File extractedLibFile = new File(targetFolder, extractedLibFileName);
try {
- if (extractedLibFile.exists()) {
- // test md5sum value
- String md5sum1 = md5sum(SnappyLoader.class.getResourceAsStream(nativeLibraryFilePath));
- String md5sum2 = md5sum(new FileInputStream(extractedLibFile));
-
- if (md5sum1.equals(md5sum2)) {
- return new File(targetFolder, extractedLibFileName);
- }
- else {
- // remove old native library file
- boolean deletionSucceeded = extractedLibFile.delete();
- if (!deletionSucceeded) {
- throw new IOException("failed to remove existing native library file: "
- + extractedLibFile.getAbsolutePath());
- }
- }
- }
-
// Extract a native library file into the target directory
InputStream reader = SnappyLoader.class.getResourceAsStream(nativeLibraryFilePath);
FileOutputStream writer = new FileOutputStream(extractedLibFile);
- byte[] buffer = new byte[8192];
- int bytesRead = 0;
- while ((bytesRead = reader.read(buffer)) != -1) {
- writer.write(buffer, 0, bytesRead);
+ try {
+ byte[] buffer = new byte[8192];
+ int bytesRead = 0;
+ while ((bytesRead = reader.read(buffer)) != -1) {
+ writer.write(buffer, 0, bytesRead);
+ }
}
+ finally {
+ // Delete the extracted lib file on JVM exit.
+ extractedLibFile.deleteOnExit();
- writer.close();
- reader.close();
+ if(writer != null)
+ writer.close();
+ if(reader != null)
+ reader.close();
+ }
// Set executable (x) flag to enable Java to load the native library
- if (!System.getProperty("os.name").contains("Windows")) {
+ extractedLibFile.setReadable(true);
+ extractedLibFile.setWritable(true, true);
+ extractedLibFile.setExecutable(true);
+
+
+ // Check whether the contents are properly copied from the resource folder
+ {
+ InputStream nativeIn = SnappyLoader.class.getResourceAsStream(nativeLibraryFilePath);
+ InputStream extractedLibIn = new FileInputStream(extractedLibFile);
try {
- Runtime.getRuntime().exec(new String[] { "chmod", "755", extractedLibFile.getAbsolutePath() })
- .waitFor();
+ if(!contentsEquals(nativeIn, extractedLibIn))
+ throw new SnappyError(SnappyErrorCode.FAILED_TO_LOAD_NATIVE_LIBRARY, String.format("Failed to write a native library file at %s", extractedLibFile));
+ }
+ finally {
+ if(nativeIn != null)
+ nativeIn.close();
+ if(extractedLibIn != null)
+ extractedLibIn.close();
}
- catch (Throwable e) {}
}
return new File(targetFolder, extractedLibFileName);
@@ -411,13 +260,10 @@ public class SnappyLoader
static File findNativeLibrary() {
boolean useSystemLib = Boolean.parseBoolean(System.getProperty(KEY_SNAPPY_USE_SYSTEMLIB, "false"));
- if (useSystemLib)
- return null;
-
boolean disabledBundledLibs = Boolean
.parseBoolean(System.getProperty(KEY_SNAPPY_DISABLE_BUNDLED_LIBS, "false"));
- if (disabledBundledLibs)
- return null;
+ if (useSystemLib || disabledBundledLibs)
+ return null; // Use a pre-installed libsnappyjava
// Try to load the library in org.xerial.snappy.lib.path */
String snappyNativeLibraryPath = System.getProperty(KEY_SNAPPY_LIB_PATH);
@@ -433,23 +279,41 @@ public class SnappyLoader
return nativeLib;
}
- {
- // Load an OS-dependent native library inside a jar file
- snappyNativeLibraryPath = "/org/xerial/snappy/native/" + OSInfo.getNativeLibFolderPathForCurrentOS();
-
- if (SnappyLoader.class.getResource(snappyNativeLibraryPath + "/" + snappyNativeLibraryName) != null) {
- // Temporary library folder. Use the value of org.xerial.snappy.tempdir or java.io.tmpdir
- String tempFolder = new File(System.getProperty(KEY_SNAPPY_TEMPDIR,
- System.getProperty("java.io.tmpdir"))).getAbsolutePath();
- // Extract and load a native library inside the jar file
- return extractLibraryFile(snappyNativeLibraryPath, snappyNativeLibraryName, tempFolder);
+ // Load an OS-dependent native library inside a jar file
+ snappyNativeLibraryPath = "/org/xerial/snappy/native/" + OSInfo.getNativeLibFolderPathForCurrentOS();
+ boolean hasNativeLib = hasResource(snappyNativeLibraryPath + "/" + snappyNativeLibraryName);
+ if(!hasNativeLib) {
+ if(OSInfo.getOSName().equals("Mac")) {
+ // Fix for openjdk7 for Mac
+ String altName = "libsnappyjava.jnilib";
+ if(hasResource(snappyNativeLibraryPath + "/" + altName)) {
+ snappyNativeLibraryName = altName;
+ hasNativeLib = true;
+ }
}
}
- return null; // Use a pre-installed libsnappyjava
+ if(!hasNativeLib) {
+ String errorMessage = String.format("no native library is found for os.name=%s and os.arch=%s", OSInfo.getOSName(), OSInfo.getArchName());
+ throw new SnappyError(SnappyErrorCode.FAILED_TO_LOAD_NATIVE_LIBRARY, errorMessage);
+ }
+
+ // Temporary folder for the native lib. Use the value of org.xerial.snappy.tempdir or java.io.tmpdir
+ String tempFolder = new File(System.getProperty(KEY_SNAPPY_TEMPDIR,
+ System.getProperty("java.io.tmpdir"))).getAbsolutePath();
+
+ // Extract and load a native library inside the jar file
+ return extractLibraryFile(snappyNativeLibraryPath, snappyNativeLibraryName, tempFolder);
}
+
+ private static boolean hasResource(String path) {
+ return SnappyLoader.class.getResource(path) != null;
+ }
+
+
+
/**
* Get the snappy-java version by reading pom.properties embedded in jar.
* This version data is used as a suffix of a dll file extracted from the
@@ -472,7 +336,7 @@ public class SnappyLoader
version = versionData.getProperty("version", version);
if (version.equals("unknown"))
version = versionData.getProperty("VERSION", version);
- version = version.trim().replaceAll("[^0-9\\.]", "");
+ version = version.trim().replaceAll("[^0-9M\\.]", "");
}
}
catch (IOException e) {
diff --git a/src/main/java/org/xerial/snappy/SnappyNative.cpp b/src/main/java/org/xerial/snappy/SnappyNative.cpp
old mode 100644
new mode 100755
index c4b9b4a..78af982
--- a/src/main/java/org/xerial/snappy/SnappyNative.cpp
+++ b/src/main/java/org/xerial/snappy/SnappyNative.cpp
@@ -20,7 +20,7 @@
void throw_exception(JNIEnv *env, jobject self, int errorCode)
{
- jclass c = env->FindClass("Lorg/xerial/snappy/SnappyNative;");
+ jclass c = env->FindClass("org/xerial/snappy/SnappyNative");
if(c==0)
return;
jmethodID mth_throwex = env->GetMethodID(c, "throw_error", "(I)V");
@@ -33,9 +33,35 @@ void throw_exception(JNIEnv *env, jobject self, int errorCode)
JNIEXPORT jstring JNICALL Java_org_xerial_snappy_SnappyNative_nativeLibraryVersion
(JNIEnv * env, jobject self)
{
- return env->NewStringUTF("1.0.4");
+ return env->NewStringUTF("1.1.0");
}
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__JJJ
+ (JNIEnv* env, jobject self, jlong srcAddr, jlong length, jlong destAddr) {
+ size_t compressedLength;
+ snappy::RawCompress((char*) srcAddr, (size_t) length, (char*) destAddr, &compressedLength);
+ return (jlong) compressedLength;
+ }
+
+
+
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__JJJ
+ (JNIEnv* env, jobject self, jlong srcAddr, jlong length, jlong destAddr) {
+
+ size_t uncompressedLength;
+ snappy::GetUncompressedLength((char*) srcAddr, (size_t) length, &uncompressedLength);
+ bool ret = snappy::RawUncompress((char*) srcAddr, (size_t) length, (char*) destAddr);
+
+ if(!ret) {
+ throw_exception(env, self, 5);
+ return 0;
+ }
+
+ return (jlong) uncompressedLength;
+ }
+
+
+
/*
* Class: org_xerial_snappy_Snappy
* Method: compress
@@ -64,6 +90,12 @@ JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__Ljava_la
char* out = (char*) env->GetPrimitiveArrayCritical((jarray) output, 0);
if(in == 0 || out == 0) {
// out of memory
+ if(in != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) input, in, 0);
+ }
+ if(out != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) output, out, 0);
+ }
throw_exception(env, self, 4);
return 0;
}
@@ -84,6 +116,12 @@ JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__Ljava_
char* out = (char*) env->GetPrimitiveArrayCritical((jarray) output, 0);
if(in == 0 || out == 0) {
// out of memory
+ if(in != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) input, in, 0);
+ }
+ if(out != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) output, out, 0);
+ }
throw_exception(env, self, 4);
return 0;
}
@@ -190,6 +228,21 @@ JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__L
return (jint) result;
}
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__JJ
+ (JNIEnv *env, jobject self, jlong inputAddr, jlong len) {
+
+
+ size_t result;
+ bool ret = snappy::GetUncompressedLength((char*) inputAddr, (size_t) len, &result);
+ if(!ret) {
+ throw_exception(env, self, 2);
+ return 0;
+ }
+
+ return (jint) result;
+ }
+
+
JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__Ljava_nio_ByteBuffer_2II
(JNIEnv * env, jobject self, jobject compressed, jint cpos, jint clen)
{
@@ -217,6 +270,19 @@ JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressed
return ret;
}
+JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__JJJ
+ (JNIEnv * env, jobject self, jlong inputAddr, jlong offset, jlong length)
+{
+ if(inputAddr == 0) {
+ // out of memory
+ throw_exception(env, self, 4);
+ return 0;
+ }
+ bool ret = snappy::IsValidCompressedBuffer((char*) (inputAddr + offset), (size_t) length);
+ return ret;
+}
+
+
JNIEXPORT void JNICALL Java_org_xerial_snappy_SnappyNative_arrayCopy
(JNIEnv * env, jobject self, jobject input, jint offset, jint length, jobject output, jint output_offset)
{
@@ -224,6 +290,12 @@ JNIEXPORT void JNICALL Java_org_xerial_snappy_SnappyNative_arrayCopy
char* dest = (char*) env->GetPrimitiveArrayCritical((jarray) output, 0);
if(src == 0 || dest == 0) {
// out of memory
+ if(src != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) input, src, 0);
+ }
+ if(dest != 0) {
+ env->ReleasePrimitiveArrayCritical((jarray) output, dest, 0);
+ }
throw_exception(env, self, 4);
return;
}
diff --git a/src/main/java/org/xerial/snappy/SnappyNative.h b/src/main/java/org/xerial/snappy/SnappyNative.h
old mode 100644
new mode 100755
index 53c91c2..d1f3e58
--- a/src/main/java/org/xerial/snappy/SnappyNative.h
+++ b/src/main/java/org/xerial/snappy/SnappyNative.h
@@ -1,101 +1,133 @@
-/* DO NOT EDIT THIS FILE - it is machine generated */
-#include <jni.h>
-/* Header for class org_xerial_snappy_SnappyNative */
-
-#ifndef _Included_org_xerial_snappy_SnappyNative
-#define _Included_org_xerial_snappy_SnappyNative
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: nativeLibraryVersion
- * Signature: ()Ljava/lang/String;
- */
-JNIEXPORT jstring JNICALL Java_org_xerial_snappy_SnappyNative_nativeLibraryVersion
- (JNIEnv *, jobject);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: rawCompress
- * Signature: (Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;I)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__Ljava_nio_ByteBuffer_2IILjava_nio_ByteBuffer_2I
- (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: rawCompress
- * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__Ljava_lang_Object_2IILjava_lang_Object_2I
- (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: rawUncompress
- * Signature: (Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;I)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__Ljava_nio_ByteBuffer_2IILjava_nio_ByteBuffer_2I
- (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: rawUncompress
- * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__Ljava_lang_Object_2IILjava_lang_Object_2I
- (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: maxCompressedLength
- * Signature: (I)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_maxCompressedLength
- (JNIEnv *, jobject, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: uncompressedLength
- * Signature: (Ljava/nio/ByteBuffer;II)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__Ljava_nio_ByteBuffer_2II
- (JNIEnv *, jobject, jobject, jint, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: uncompressedLength
- * Signature: (Ljava/lang/Object;II)I
- */
-JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__Ljava_lang_Object_2II
- (JNIEnv *, jobject, jobject, jint, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: isValidCompressedBuffer
- * Signature: (Ljava/nio/ByteBuffer;II)Z
- */
-JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__Ljava_nio_ByteBuffer_2II
- (JNIEnv *, jobject, jobject, jint, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: isValidCompressedBuffer
- * Signature: (Ljava/lang/Object;II)Z
- */
-JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__Ljava_lang_Object_2II
- (JNIEnv *, jobject, jobject, jint, jint);
-
-/*
- * Class: org_xerial_snappy_SnappyNative
- * Method: arrayCopy
- * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)V
- */
-JNIEXPORT void JNICALL Java_org_xerial_snappy_SnappyNative_arrayCopy
- (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
-
-#ifdef __cplusplus
-}
-#endif
-#endif
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_xerial_snappy_SnappyNative */
+
+#ifndef _Included_org_xerial_snappy_SnappyNative
+#define _Included_org_xerial_snappy_SnappyNative
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: nativeLibraryVersion
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_xerial_snappy_SnappyNative_nativeLibraryVersion
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawCompress
+ * Signature: (JJJ)J
+ */
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__JJJ
+ (JNIEnv *, jobject, jlong, jlong, jlong);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawUncompress
+ * Signature: (JJJ)J
+ */
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__JJJ
+ (JNIEnv *, jobject, jlong, jlong, jlong);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawCompress
+ * Signature: (Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;I)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__Ljava_nio_ByteBuffer_2IILjava_nio_ByteBuffer_2I
+ (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawCompress
+ * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawCompress__Ljava_lang_Object_2IILjava_lang_Object_2I
+ (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawUncompress
+ * Signature: (Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;I)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__Ljava_nio_ByteBuffer_2IILjava_nio_ByteBuffer_2I
+ (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: rawUncompress
+ * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_rawUncompress__Ljava_lang_Object_2IILjava_lang_Object_2I
+ (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: maxCompressedLength
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_maxCompressedLength
+ (JNIEnv *, jobject, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: uncompressedLength
+ * Signature: (Ljava/nio/ByteBuffer;II)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__Ljava_nio_ByteBuffer_2II
+ (JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: uncompressedLength
+ * Signature: (Ljava/lang/Object;II)I
+ */
+JNIEXPORT jint JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__Ljava_lang_Object_2II
+ (JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: uncompressedLength
+ * Signature: (JJ)J
+ */
+JNIEXPORT jlong JNICALL Java_org_xerial_snappy_SnappyNative_uncompressedLength__JJ
+ (JNIEnv *, jobject, jlong, jlong);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: isValidCompressedBuffer
+ * Signature: (Ljava/nio/ByteBuffer;II)Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__Ljava_nio_ByteBuffer_2II
+ (JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: isValidCompressedBuffer
+ * Signature: (Ljava/lang/Object;II)Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__Ljava_lang_Object_2II
+ (JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: isValidCompressedBuffer
+ * Signature: (JJJ)Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_xerial_snappy_SnappyNative_isValidCompressedBuffer__JJJ
+ (JNIEnv *, jobject, jlong, jlong, jlong);
+
+/*
+ * Class: org_xerial_snappy_SnappyNative
+ * Method: arrayCopy
+ * Signature: (Ljava/lang/Object;IILjava/lang/Object;I)V
+ */
+JNIEXPORT void JNICALL Java_org_xerial_snappy_SnappyNative_arrayCopy
+ (JNIEnv *, jobject, jobject, jint, jint, jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/main/java/org/xerial/snappy/SnappyNative.java b/src/main/java/org/xerial/snappy/SnappyNative.java
old mode 100644
new mode 100755
index 9b42064..b95e213
--- a/src/main/java/org/xerial/snappy/SnappyNative.java
+++ b/src/main/java/org/xerial/snappy/SnappyNative.java
@@ -28,8 +28,7 @@ import java.io.IOException;
import java.nio.ByteBuffer;
/**
- * <b>Internal only - Do not use this class.</b> JNI interface of the
- * {@link SnappyNativeAPI} implementation. The native method in this class is
+ * JNI interface of the {@link Snappy} implementation. The native method in this class is
* defined in SnappyNative.h (genereted by javah) and SnappyNative.cpp
*
* <p>
@@ -40,7 +39,7 @@ import java.nio.ByteBuffer;
* @author leo
*
*/
-public class SnappyNative implements SnappyNativeAPI
+public class SnappyNative
{
public native String nativeLibraryVersion();
@@ -48,10 +47,13 @@ public class SnappyNative implements SnappyNativeAPI
// ------------------------------------------------------------------------
// Generic compression/decompression routines.
// ------------------------------------------------------------------------
+ public native long rawCompress(long inputAddr, long inputSize, long destAddr) throws IOException;
+ public native long rawUncompress(long inputAddr, long inputSize, long destAddr) throws IOException;
+
public native int rawCompress(ByteBuffer input, int inputOffset, int inputLength, ByteBuffer compressed,
int outputOffset) throws IOException;
- public native int rawCompress(Object input, int inputOffset, int inputByteLength, Object output, int outputOffset);
+ public native int rawCompress(Object input, int inputOffset, int inputByteLength, Object output, int outputOffset) throws IOException;
public native int rawUncompress(ByteBuffer compressed, int inputOffset, int inputLength, ByteBuffer uncompressed,
int outputOffset) throws IOException;
@@ -68,10 +70,14 @@ public class SnappyNative implements SnappyNativeAPI
public native int uncompressedLength(Object input, int offset, int len) throws IOException;
+ public native long uncompressedLength(long inputAddr, long len) throws IOException;
+
public native boolean isValidCompressedBuffer(ByteBuffer compressed, int offset, int len) throws IOException;
public native boolean isValidCompressedBuffer(Object input, int offset, int len) throws IOException;
+ public native boolean isValidCompressedBuffer(long inputAddr, long offset, long len) throws IOException;
+
public native void arrayCopy(Object src, int offset, int byteLength, Object dest, int dOffset) throws IOException;
public void throw_error(int errorCode) throws IOException {
diff --git a/src/main/java/org/xerial/snappy/SnappyNativeAPI.java b/src/main/java/org/xerial/snappy/SnappyNativeAPI.java
deleted file mode 100644
index 6bf9fcc..0000000
--- a/src/main/java/org/xerial/snappy/SnappyNativeAPI.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*--------------------------------------------------------------------------
- * Copyright 2011 Taro L. Saito
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *--------------------------------------------------------------------------*/
-//--------------------------------------
-// snappy-java Project
-//
-// SnappyNative.java
-// Since: 2011/03/30
-//
-// $URL$
-// $Author$
-//--------------------------------------
-package org.xerial.snappy;
-
-import java.io.IOException;
-import java.nio.ByteBuffer;
-
-/**
- * <b>Internal only - Do not use this class.</b>
- *
- * Interface to access the native code of Snappy. Although this class members
- * are public, do not use them directly. Use {@link Snappy} API instead.
- *
- *
- * @author leo
- *
- */
-public interface SnappyNativeAPI
-{
-
- public String nativeLibraryVersion();
-
- // ------------------------------------------------------------------------
- // Generic compression/decompression routines.
- // ------------------------------------------------------------------------
- public int rawCompress(ByteBuffer input, int inputOffset, int inputLength, ByteBuffer compressed, int outputOffset)
- throws IOException;
-
- public int rawCompress(Object input, int inputOffset, int inputByteLength, Object output, int outputOffset);
-
- public int rawUncompress(ByteBuffer compressed, int inputOffset, int inputLength, ByteBuffer uncompressed,
- int outputOffset) throws IOException;
-
- public int rawUncompress(Object input, int inputOffset, int inputLength, Object output, int outputOffset)
- throws IOException;
-
- // Returns the maximal size of the compressed representation of
- // input data that is "source_bytes" bytes in length;
- public int maxCompressedLength(int source_bytes);
-
- // This operation takes O(1) time.
- public int uncompressedLength(ByteBuffer compressed, int offset, int len) throws IOException;
-
- public int uncompressedLength(Object input, int offset, int len) throws IOException;
-
- public boolean isValidCompressedBuffer(ByteBuffer compressed, int offset, int len) throws IOException;
-
- public boolean isValidCompressedBuffer(Object input, int offset, int len) throws IOException;
-
- public void arrayCopy(Object src, int offset, int byteLength, Object dest, int dOffset) throws IOException;
-
- public void throw_error(int errorCode) throws IOException;
-
-}
diff --git a/src/main/java/org/xerial/snappy/SnappyOutputStream.java b/src/main/java/org/xerial/snappy/SnappyOutputStream.java
old mode 100644
new mode 100755
index d523a95..6041767
--- a/src/main/java/org/xerial/snappy/SnappyOutputStream.java
+++ b/src/main/java/org/xerial/snappy/SnappyOutputStream.java
@@ -1,315 +1,338 @@
-/*--------------------------------------------------------------------------
- * Copyright 2011 Taro L. Saito
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *--------------------------------------------------------------------------*/
-//--------------------------------------
-// XerialJ
-//
-// SnappyOutputStream.java
-// Since: 2011/03/31 17:44:10
-//
-// $URL$
-// $Author$
-//--------------------------------------
-package org.xerial.snappy;
-
-import java.io.IOException;
-import java.io.OutputStream;
-
-/**
- * This class implements a stream filter for writing compressed data using
- * Snappy.
- *
- * The input data is blocked into 32kb size (in default), and each block is
- * compressed and then passed to the given {@link OutputStream}.
- *
- * The output data format is:
- * <ol>
- * <li>snappy codec header defined in {@link SnappyCodec} (8 bytes)
- * <li>compressed block 1 : a pair of (compressed data size [4 byte integer.
- * Big-endian], compressed data...)
- * <li>compressed block 2
- * <li>...
- * </ol>
- *
- * Note that the compressed data created by {@link SnappyOutputStream} cannot be
- * uncompressed by {@link Snappy#uncompress(byte[])} since the output formats of
- * {@link Snappy#compress(byte[])} and {@link SnappyOutputStream} are different.
- * Use {@link SnappyInputStream} for uncompress the data generated by
- * {@link SnappyOutputStream}.
- *
- * @author leo
- *
- */
-public class SnappyOutputStream extends OutputStream
-{
- static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
-
- protected final OutputStream out;
- private final int blockSize;
- private int cursor = 0;
- protected byte[] uncompressed;
- protected byte[] compressed;
-
- public SnappyOutputStream(OutputStream out) throws IOException {
- this(out, DEFAULT_BLOCK_SIZE);
- }
-
- /**
- * @param out
- * @param blockSize
- * byte size of the internal buffer size
- * @throws IOException
- */
- public SnappyOutputStream(OutputStream out, int blockSize) throws IOException {
- this.out = out;
- this.blockSize = blockSize;
- uncompressed = new byte[blockSize];
- compressed = new byte[Snappy.maxCompressedLength(blockSize)];
- writeHeader();
- }
-
- protected void writeHeader() throws IOException {
- SnappyCodec.currentHeader().writeHeader(out);
- }
-
- /**
- * Writes len bytes from the specified byte array starting at offset off to
- * this output stream. The general contract for write(b, off, len) is that
- * some of the bytes in the array b are written to the output stream in
- * order; element b[off] is the first byte written and b[off+len-1] is the
- * last byte written by this operation.
- */
- /* (non-Javadoc)
- * @see java.io.OutputStream#write(byte[], int, int)
- */
- @Override
- public void write(byte[] b, int off, int len) throws IOException {
- rawWrite(b, off, len);
- }
-
- /**
- * Compress the input long array data
- *
- * @param d
- * input array
- * @param off
- * offset in the array
- * @param len
- * the number of elements in the array to copy
- * @throws IOException
- */
- public void write(long[] d, int off, int len) throws IOException {
- rawWrite(d, off * 8, len * 8);
- }
-
- /**
- * Compress the input double array data
- *
- * @param f
- * input array
- * @param off
- * offset in the array
- * @param len
- * the number of elements in the array to copy
- * @throws IOException
- */
- public void write(double[] f, int off, int len) throws IOException {
- rawWrite(f, off * 8, len * 8);
- }
-
- /**
- * Compress the input float array data
- *
- * @param f
- * input array
- * @param off
- * offset in the array
- * @param len
- * the number of elements in the array to copy
- * @throws IOException
- */
- public void write(float[] f, int off, int len) throws IOException {
- rawWrite(f, off * 4, len * 4);
- }
-
- /**
- * Compress the input int array data
- *
- * @param f
- * input array
- * @param off
- * offset in the array
- * @param len
- * the number of elements in the array to copy
- * @throws IOException
- */
- public void write(int[] f, int off, int len) throws IOException {
- rawWrite(f, off * 4, len * 4);
- }
-
- /**
- * Compress the input short array data
- *
- * @param f
- * input array
- * @param off
- * offset in the array
- * @param len
- * the number of elements in the array to copy
- * @throws IOException
- */
- public void write(short[] f, int off, int len) throws IOException {
- rawWrite(f, off * 2, len * 2);
- }
-
- /**
- * Compress the input array data
- *
- * @param d
- * @throws IOException
- */
- public void write(long[] d) throws IOException {
- write(d, 0, d.length);
- }
-
- /**
- * Compress the input array data
- *
- * @param f
- * @throws IOException
- */
- public void write(double[] f) throws IOException {
- write(f, 0, f.length);
- }
-
- /**
- * Compress the input array data
- *
- * @param f
- * @throws IOException
- */
- public void write(float[] f) throws IOException {
- write(f, 0, f.length);
- }
-
- /**
- * Compress the input array data
- *
- * @param f
- * @throws IOException
- */
- public void write(int[] f) throws IOException {
- write(f, 0, f.length);
- }
-
- /**
- * Compress the input array data
- *
- * @param f
- * @throws IOException
- */
- public void write(short[] f) throws IOException {
- write(f, 0, f.length);
- }
-
- /**
- * Compress the raw byte array data.
- *
- * @param array
- * array data of any type (e.g., byte[], float[], long[], ...)
- * @param byteOffset
- * @param byteLength
- * @throws IOException
- */
- public void rawWrite(Object array, int byteOffset, int byteLength) throws IOException {
- for (int readBytes = 0; readBytes < byteLength;) {
- int copyLen = Math.min(uncompressed.length - cursor, byteLength - readBytes);
- Snappy.arrayCopy(array, byteOffset + readBytes, copyLen, uncompressed, cursor);
- readBytes += copyLen;
- cursor += copyLen;
-
- if (cursor >= uncompressed.length) {
- dump();
- }
- }
- }
-
- /**
- * Writes the specified byte to this output stream. The general contract for
- * write is that one byte is written to the output stream. The byte to be
- * written is the eight low-order bits of the argument b. The 24 high-order
- * bits of b are ignored.
- */
- /* (non-Javadoc)
- * @see java.io.OutputStream#write(int)
- */
- @Override
- public void write(int b) throws IOException {
- if (cursor >= uncompressed.length) {
- dump();
- }
- uncompressed[cursor++] = (byte) b;
- }
-
- /* (non-Javadoc)
- * @see java.io.OutputStream#flush()
- */
- @Override
- public void flush() throws IOException {
- dump();
- out.flush();
- }
-
- static void writeInt(OutputStream out, int value) throws IOException {
- out.write((value >> 24) & 0xFF);
- out.write((value >> 16) & 0xFF);
- out.write((value >> 8) & 0xFF);
- out.write((value >> 0) & 0xFF);
- }
-
- static int readInt(byte[] buffer, int pos) {
- int b1 = (buffer[pos] & 0xFF) << 24;
- int b2 = (buffer[pos + 1] & 0xFF) << 16;
- int b3 = (buffer[pos + 2] & 0xFF) << 8;
- int b4 = buffer[pos + 3] & 0xFF;
- return b1 | b2 | b3 | b4;
- }
-
- protected void dump() throws IOException {
- if (cursor <= 0)
- return; // no need to dump
-
- // Compress and dump the buffer content
- int compressedSize = Snappy.compress(uncompressed, 0, cursor, compressed, 0);
- writeInt(out, compressedSize);
- out.write(compressed, 0, compressedSize);
- cursor = 0;
- }
-
- /**
- * close the stream
- */
- /* (non-Javadoc)
- * @see java.io.OutputStream#close()
- */
- @Override
- public void close() throws IOException {
- flush();
-
- super.close();
- out.close();
- }
-
-}
+/*--------------------------------------------------------------------------
+ * Copyright 2011 Taro L. Saito
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *--------------------------------------------------------------------------*/
+//--------------------------------------
+// XerialJ
+//
+// SnappyOutputStream.java
+// Since: 2011/03/31 17:44:10
+//
+// $URL$
+// $Author$
+//--------------------------------------
+package org.xerial.snappy;
+
+import org.xerial.snappy.buffer.BufferAllocatorFactory;
+import org.xerial.snappy.buffer.BufferAllocator;
+import org.xerial.snappy.buffer.CachedBufferAllocator;
+
+import java.io.IOException;
+import java.io.OutputStream;
+
+/**
+ * This class implements a stream filter for writing compressed data using
+ * Snappy.
+ * <p>
+ * The input data is blocked into 32kb size (in default), and each block is
+ * compressed and then passed to the given {@link OutputStream}.
+ * </p>
+ * The output data format is:
+ * <ol>
+ * <li>snappy codec header defined in {@link SnappyCodec} (8 bytes)
+ * <li>compressed block 1 : a pair of (compressed data size [4 byte integer.
+ * Big-endian], compressed data...)
+ * <li>compressed block 2
+ * <li>...
+ * </ol>
+ * <p/>
+ * Note that the compressed data created by {@link SnappyOutputStream} cannot be
+ * uncompressed by {@link Snappy#uncompress(byte[])} since the output formats of
+ * {@link Snappy#compress(byte[])} and {@link SnappyOutputStream} are different.
+ * Use {@link SnappyInputStream} for uncompress the data generated by
+ * {@link SnappyOutputStream}.
+ *
+ * @author leo
+ */
+public class SnappyOutputStream extends OutputStream {
+ static final int MIN_BLOCK_SIZE = 1 * 1024;
+ static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
+
+ protected final OutputStream out;
+ private final int blockSize;
+
+ private final BufferAllocator inputBufferAllocator;
+ private final BufferAllocator outputBufferAllocator;
+
+ protected final byte[] inputBuffer;
+ protected final byte[] outputBuffer;
+ private int inputCursor = 0;
+ private int outputCursor = 0;
+
+ public SnappyOutputStream(OutputStream out) {
+ this(out, DEFAULT_BLOCK_SIZE);
+ }
+
+ /**
+ * @param out
+ * @param blockSize byte size of the internal buffer size
+ * @throws IOException
+ */
+ public SnappyOutputStream(OutputStream out, int blockSize) {
+ this(out, blockSize, CachedBufferAllocator.factory);
+ }
+
+ public SnappyOutputStream(OutputStream out, int blockSize, BufferAllocatorFactory bufferAllocatorFactory) {
+ this.out = out;
+ this.blockSize = Math.max(MIN_BLOCK_SIZE, blockSize);
+ int inputSize = blockSize;
+ int outputSize = SnappyCodec.HEADER_SIZE + 4 + Snappy.maxCompressedLength(blockSize);
+
+ this.inputBufferAllocator = bufferAllocatorFactory.getBufferAllocator(inputSize);
+ this.outputBufferAllocator = bufferAllocatorFactory.getBufferAllocator(outputSize);
+
+ inputBuffer = inputBufferAllocator.allocate(inputSize);
+ outputBuffer = outputBufferAllocator.allocate(outputSize);
+
+ outputCursor = SnappyCodec.currentHeader.writeHeader(outputBuffer, 0);
+ }
+
+
+ /* (non-Javadoc)
+ * @see java.io.OutputStream#write(byte[], int, int)
+ */
+ @Override
+ public void write(byte[] b, int off, int len) throws IOException {
+ rawWrite(b, off, len);
+ }
+
+ /**
+ * Compress the input long array data
+ *
+ * @param d input array
+ * @param off offset in the array
+ * @param len the number of elements in the array to copy
+ * @throws IOException
+ */
+ public void write(long[] d, int off, int len) throws IOException {
+ rawWrite(d, off * 8, len * 8);
+ }
+
+ /**
+ * Compress the input double array data
+ *
+ * @param f input array
+ * @param off offset in the array
+ * @param len the number of elements in the array to copy
+ * @throws IOException
+ */
+ public void write(double[] f, int off, int len) throws IOException {
+ rawWrite(f, off * 8, len * 8);
+ }
+
+ /**
+ * Compress the input float array data
+ *
+ * @param f input array
+ * @param off offset in the array
+ * @param len the number of elements in the array to copy
+ * @throws IOException
+ */
+ public void write(float[] f, int off, int len) throws IOException {
+ rawWrite(f, off * 4, len * 4);
+ }
+
+ /**
+ * Compress the input int array data
+ *
+ * @param f input array
+ * @param off offset in the array
+ * @param len the number of elements in the array to copy
+ * @throws IOException
+ */
+ public void write(int[] f, int off, int len) throws IOException {
+ rawWrite(f, off * 4, len * 4);
+ }
+
+ /**
+ * Compress the input short array data
+ *
+ * @param f input array
+ * @param off offset in the array
+ * @param len the number of elements in the array to copy
+ * @throws IOException
+ */
+ public void write(short[] f, int off, int len) throws IOException {
+ rawWrite(f, off * 2, len * 2);
+ }
+
+ /**
+ * Compress the input array data
+ *
+ * @param d
+ * @throws IOException
+ */
+ public void write(long[] d) throws IOException {
+ write(d, 0, d.length);
+ }
+
+ /**
+ * Compress the input array data
+ *
+ * @param f
+ * @throws IOException
+ */
+ public void write(double[] f) throws IOException {
+ write(f, 0, f.length);
+ }
+
+ /**
+ * Compress the input array data
+ *
+ * @param f
+ * @throws IOException
+ */
+ public void write(float[] f) throws IOException {
+ write(f, 0, f.length);
+ }
+
+ /**
+ * Compress the input array data
+ *
+ * @param f
+ * @throws IOException
+ */
+ public void write(int[] f) throws IOException {
+ write(f, 0, f.length);
+ }
+
+ /**
+ * Compress the input array data
+ *
+ * @param f
+ * @throws IOException
+ */
+ public void write(short[] f) throws IOException {
+ write(f, 0, f.length);
+ }
+
+ private boolean hasSufficientOutputBufferFor(int inputSize) {
+ int maxCompressedSize = Snappy.maxCompressedLength(inputSize);
+ return maxCompressedSize < outputBuffer.length - outputCursor - 4;
+ }
+
+ /**
+ * Compress the raw byte array data.
+ *
+ * @param array array data of any type (e.g., byte[], float[], long[], ...)
+ * @param byteOffset
+ * @param byteLength
+ * @throws IOException
+ */
+ public void rawWrite(Object array, int byteOffset, int byteLength) throws IOException {
+
+ if(inputCursor + byteLength < MIN_BLOCK_SIZE) {
+ // copy the input data to uncompressed buffer
+ Snappy.arrayCopy(array, byteOffset, byteLength, inputBuffer, inputCursor);
+ inputCursor += byteLength;
+ return;
+ }
+
+ compressInput();
+
+ for(int readBytes = 0; readBytes < byteLength; ) {
+ int inputLen = Math.min(blockSize, byteLength - readBytes);
+ if(!hasSufficientOutputBufferFor(inputLen)) {
+ dumpOutput();
+ }
+ int compressedSize = Snappy.rawCompress(array, byteOffset + readBytes, inputLen, outputBuffer, outputCursor + 4);
+ writeInt(outputBuffer, outputCursor, compressedSize);
+ outputCursor += 4 + compressedSize;
+ readBytes += inputLen;
+ }
+ }
+
+ /**
+ * Writes the specified byte to this output stream. The general contract for
+ * write is that one byte is written to the output stream. The byte to be
+ * written is the eight low-order bits of the argument b. The 24 high-order
+ * bits of b are ignored.
+ */
+ /* (non-Javadoc)
+ * @see java.io.OutputStream#write(int)
+ */
+ @Override
+ public void write(int b) throws IOException {
+ if(inputCursor >= inputBuffer.length) {
+ compressInput();
+ }
+ inputBuffer[inputCursor++] = (byte) b;
+ }
+
+ /* (non-Javadoc)
+ * @see java.io.OutputStream#flush()
+ */
+ @Override
+ public void flush() throws IOException {
+ compressInput();
+ dumpOutput();
+ out.flush();
+ }
+
+ static void writeInt(byte[] dst, int offset, int v) {
+ dst[offset] = (byte) ((v >> 24) & 0xFF);
+ dst[offset + 1] = (byte) ((v >> 16) & 0xFF);
+ dst[offset + 2] = (byte) ((v >> 8) & 0xFF);
+ dst[offset + 3] = (byte) ((v >> 0) & 0xFF);
+ }
+
+ static int readInt(byte[] buffer, int pos) {
+ int b1 = (buffer[pos] & 0xFF) << 24;
+ int b2 = (buffer[pos + 1] & 0xFF) << 16;
+ int b3 = (buffer[pos + 2] & 0xFF) << 8;
+ int b4 = buffer[pos + 3] & 0xFF;
+ return b1 | b2 | b3 | b4;
+ }
+
+ protected void dumpOutput() throws IOException {
+ if(outputCursor > 0) {
+ out.write(outputBuffer, 0, outputCursor);
+ outputCursor = 0;
+ }
+ }
+
+ protected void compressInput() throws IOException {
+ if(inputCursor <= 0) {
+ return; // no need to dump
+ }
+
+ // Compress and dump the buffer content
+ if(!hasSufficientOutputBufferFor(inputCursor)) {
+ dumpOutput();
+ }
+ int compressedSize = Snappy.compress(inputBuffer, 0, inputCursor, outputBuffer, outputCursor + 4);
+ // Write compressed data size
+ writeInt(outputBuffer, outputCursor, compressedSize);
+ outputCursor += 4 + compressedSize;
+ inputCursor = 0;
+ }
+
+ /**
+ * close the stream
+ */
+ /* (non-Javadoc)
+ * @see java.io.OutputStream#close()
+ */
+ @Override
+ public void close() throws IOException {
+ try {
+ flush();
+ out.close();
+ } finally {
+ inputBufferAllocator.release(inputBuffer);
+ outputBufferAllocator.release(outputBuffer);
+ }
+ }
+
+}
diff --git a/src/main/java/org/xerial/snappy/VERSION b/src/main/java/org/xerial/snappy/VERSION
old mode 100644
new mode 100755
index 4d31fda..333039a
--- a/src/main/java/org/xerial/snappy/VERSION
+++ b/src/main/java/org/xerial/snappy/VERSION
@@ -1,2 +1,2 @@
-VERSION=1.0.4
+VERSION=1.1.1
diff --git a/src/main/java/org/xerial/snappy/buffer/BufferAllocator.java b/src/main/java/org/xerial/snappy/buffer/BufferAllocator.java
new file mode 100644
index 0000000..205a6ea
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/buffer/BufferAllocator.java
@@ -0,0 +1,11 @@
+package org.xerial.snappy.buffer;
+
+/**
+ * BufferAllocator interface. The implementation of this interface must be thread-safe
+ */
+public interface BufferAllocator {
+
+ public byte[] allocate(int size);
+ public void release(byte[] buffer);
+
+}
diff --git a/src/main/java/org/xerial/snappy/buffer/BufferAllocatorFactory.java b/src/main/java/org/xerial/snappy/buffer/BufferAllocatorFactory.java
new file mode 100644
index 0000000..dda87b6
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/buffer/BufferAllocatorFactory.java
@@ -0,0 +1,10 @@
+package org.xerial.snappy.buffer;
+
+/**
+ *
+ */
+public interface BufferAllocatorFactory {
+
+ BufferAllocator getBufferAllocator(int minSize);
+}
+
diff --git a/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java b/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java
new file mode 100644
index 0000000..eacc50b
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/buffer/CachedBufferAllocator.java
@@ -0,0 +1,61 @@
+package org.xerial.snappy.buffer;
+
+import java.lang.ref.SoftReference;
+import java.util.*;
+
+/**
+ * Cached buffer
+ */
+public class CachedBufferAllocator implements BufferAllocator {
+
+ public static BufferAllocatorFactory factory = new BufferAllocatorFactory() {
+ @Override
+ public BufferAllocator getBufferAllocator(int bufferSize) {
+ return CachedBufferAllocator.getAllocator(bufferSize);
+ }
+ };
+
+ /**
+ * Use SoftReference so that having this queueTable does not prevent the GC of CachedBufferAllocator instances
+ */
+ public static Map<Integer, SoftReference<CachedBufferAllocator>> queueTable = new HashMap<Integer, SoftReference<CachedBufferAllocator>>();
+
+ private final int bufferSize;
+ private final Deque<byte[]> bufferQueue;
+
+ public CachedBufferAllocator(int bufferSize) {
+ this.bufferSize = bufferSize;
+ this.bufferQueue = new ArrayDeque<byte[]>();
+ }
+
+ public static synchronized CachedBufferAllocator getAllocator(int bufferSize) {
+ CachedBufferAllocator result = null;
+
+ if (queueTable.containsKey(bufferSize)) {
+ result = queueTable.get(bufferSize).get();
+ }
+ if (result == null) {
+ result = new CachedBufferAllocator(bufferSize);
+ queueTable.put(bufferSize, new SoftReference<CachedBufferAllocator>(result));
+ }
+ return result;
+ }
+
+ @Override
+ public byte[] allocate(int size) {
+ synchronized(this) {
+ if(bufferQueue.isEmpty()) {
+ return new byte[size];
+ }
+ else {
+ return bufferQueue.pollFirst();
+ }
+ }
+ }
+ @Override
+ public void release(byte[] buffer) {
+ synchronized(this) {
+ bufferQueue.addLast(buffer);
+ }
+ }
+}
diff --git a/src/main/java/org/xerial/snappy/buffer/DefaultBufferAllocator.java b/src/main/java/org/xerial/snappy/buffer/DefaultBufferAllocator.java
new file mode 100644
index 0000000..0c459bc
--- /dev/null
+++ b/src/main/java/org/xerial/snappy/buffer/DefaultBufferAllocator.java
@@ -0,0 +1,26 @@
+package org.xerial.snappy.buffer;
+
+/**
+ * Simple buffer allocator, which does not reuse the allocated buffer
+ */
+public class DefaultBufferAllocator implements BufferAllocator {
+
+ public static BufferAllocatorFactory factory = new BufferAllocatorFactory() {
+ public BufferAllocator singleton = new DefaultBufferAllocator();
+ @Override
+ public BufferAllocator getBufferAllocator(int bufferSize) {
+ return singleton;
+ }
+ };
+
+ @Override
+ public byte[] allocate(int size) {
+ return new byte[size];
+ }
+
+ @Override
+ public void release(byte[] buffer) {
+ // do nothing
+ }
+
+}
diff --git a/src/main/java/org/xerial/snappy/package-info.java b/src/main/java/org/xerial/snappy/package-info.java
old mode 100644
new mode 100755
diff --git a/src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode b/src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode
deleted file mode 100644
index 64c0fe8..0000000
Binary files a/src/main/resources/org/xerial/snappy/SnappyNativeLoader.bytecode and /dev/null differ
diff --git a/src/main/resources/org/xerial/snappy/SnappyNativeLoader.java b/src/main/resources/org/xerial/snappy/SnappyNativeLoader.java
deleted file mode 100644
index 967912c..0000000
--- a/src/main/resources/org/xerial/snappy/SnappyNativeLoader.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*--------------------------------------------------------------------------
- * Copyright 2011 Taro L. Saito
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *--------------------------------------------------------------------------*/
-//--------------------------------------
-// XerialJ
-//
-// SnappyNativeLoader.java
-// Since: 2011/07/04 12:10:28
-//
-// $URL$
-// $Author$
-//--------------------------------------
-package org.xerial.snappy;
-
-import java.util.HashMap;
-
-public class SnappyNativeLoader
-{
- private static HashMap<String, Boolean> loadedLibFiles = new HashMap<String, Boolean>();
- private static HashMap<String, Boolean> loadedLib = new HashMap<String, Boolean>();
-
- public static synchronized void load(String lib) {
- if (loadedLibFiles.containsKey(lib) && loadedLibFiles.get(lib) == true)
- return;
-
- try {
- System.load(lib);
- loadedLibFiles.put(lib, true);
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public static synchronized void loadLibrary(String libname) {
- if (loadedLib.containsKey(libname) && loadedLib.get(libname) == true)
- return;
-
- try {
- System.loadLibrary(libname);
- loadedLib.put(libname, true);
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-}
diff --git a/src/test/java/org/xerial/snappy/CalgaryTest.java b/src/test/java/org/xerial/snappy/CalgaryTest.java
old mode 100644
new mode 100755
index 1f98af2..de72038
--- a/src/test/java/org/xerial/snappy/CalgaryTest.java
+++ b/src/test/java/org/xerial/snappy/CalgaryTest.java
@@ -24,14 +24,20 @@
//--------------------------------------
package org.xerial.snappy;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
+import org.junit.Rule;
import org.junit.Test;
+import org.junit.rules.TemporaryFolder;
import org.xerial.util.FileResource;
import org.xerial.util.log.Logger;
@@ -44,6 +50,9 @@ import org.xerial.util.log.Logger;
public class CalgaryTest
{
private static Logger _logger = Logger.getLogger(CalgaryTest.class);
+
+ @Rule
+ public final TemporaryFolder tempFolder = new TemporaryFolder();
static byte[] readFile(String file) throws IOException {
InputStream in = FileResource.find(CalgaryTest.class, file).openStream();
@@ -92,6 +101,83 @@ public class CalgaryTest
}
@Test
+ public void streamFramed() throws Exception {
+ for (String f : files) {
+ byte[] orig = readFile("testdata/calgary/" + f);
+
+ ByteArrayOutputStream compressedBuf = new ByteArrayOutputStream();
+ SnappyFramedOutputStream out = new SnappyFramedOutputStream(compressedBuf);
+ out.write(orig);
+ out.close();
+
+ SnappyFramedInputStream in = new SnappyFramedInputStream(new ByteArrayInputStream(compressedBuf.toByteArray()));
+
+ byte[] uncompressed = new byte[orig.length];
+ int readBytes = readBytes(in, uncompressed, 0, orig.length);
+
+ assertEquals(orig.length, readBytes);
+ assertArrayEquals(orig, uncompressed);
+ }
+ }
+
+ @Test
+ public void streamFramedToFile() throws Exception {
+ for (String f : files) {
+ byte[] orig = readFile("testdata/calgary/" + f);
+
+ final File tempFile = tempFolder.newFile(f);
+ final FileOutputStream compressedFOS = new FileOutputStream(tempFile);
+ try
+ {
+ SnappyFramedOutputStream out = new SnappyFramedOutputStream(compressedFOS);
+ out.write(orig);
+ out.close();
+ }
+ finally
+ {
+ compressedFOS.close();
+ }
+
+ byte[] uncompressed = new byte[orig.length];
+
+ final FileInputStream compressedFIS = new FileInputStream(tempFile);
+ try
+ {
+ SnappyFramedInputStream in = new SnappyFramedInputStream(compressedFIS.getChannel());
+ int readBytes = readBytes(in, uncompressed, 0, orig.length);
+
+ assertEquals(orig.length, readBytes);
+ }
+ finally
+ {
+ compressedFIS.close();
+ }
+
+ assertArrayEquals(orig, uncompressed);
+ }
+ }
+
+ @Test
+ public void streamFramedNoCRCVerify() throws Exception {
+ for (String f : files) {
+ byte[] orig = readFile("testdata/calgary/" + f);
+
+ ByteArrayOutputStream compressedBuf = new ByteArrayOutputStream();
+ SnappyFramedOutputStream out = new SnappyFramedOutputStream(compressedBuf);
+ out.write(orig);
+ out.close();
+
+ SnappyFramedInputStream in = new SnappyFramedInputStream(new ByteArrayInputStream(compressedBuf.toByteArray()), false);
+
+ byte[] uncompressed = new byte[orig.length];
+ int readBytes = readBytes(in, uncompressed, 0, orig.length);
+
+ assertEquals(orig.length, readBytes);
+ assertArrayEquals(orig, uncompressed);
+ }
+ }
+
+ @Test
public void byteWiseRead() throws Exception {
for (String f : files) {
byte[] orig = readFile("testdata/calgary/" + f);
@@ -115,4 +201,28 @@ public class CalgaryTest
}
}
+ static final int readBytes(InputStream source, byte[] dest, int offset, int length) throws IOException
+ {
+ // how many bytes were read.
+ int lastRead = source.read(dest, offset, length);
+
+ int totalRead = lastRead;
+
+ // if we did not read as many bytes as we had hoped, try reading again.
+ if (lastRead < length)
+ {
+ // as long the buffer is not full (remaining() == 0) and we have not reached EOF (lastRead == -1) keep reading.
+ while (totalRead < length && lastRead != -1)
+ {
+ lastRead = source.read(dest, offset + totalRead, length - totalRead);
+
+ // if we got EOF, do not add to total read.
+ if (lastRead != -1)
+ {
+ totalRead += lastRead;
+ }
+ }
+ }
+ return totalRead;
+ }
}
diff --git a/src/test/java/org/xerial/snappy/OSInfoTest.java b/src/test/java/org/xerial/snappy/OSInfoTest.java
old mode 100644
new mode 100755
diff --git a/src/test/java/org/xerial/snappy/RandomGenerator.java b/src/test/java/org/xerial/snappy/RandomGenerator.java
new file mode 100644
index 0000000..c75a8aa
--- /dev/null
+++ b/src/test/java/org/xerial/snappy/RandomGenerator.java
@@ -0,0 +1,68 @@
+/*
+ * Created: Apr 15, 2013
+ */
+package org.xerial.snappy;
+
+import java.util.Random;
+
+/**
+ * Generates random data with specific expected snappy performance characteristics.
+ *
+ * <p>
+ * This has been copied from <a href="https://github.com/dain/snappy"> dain's snappy</a> implementation..
+ * </p>
+ */
+public class RandomGenerator {
+
+ public final byte[] data;
+ public int position;
+
+ public RandomGenerator(double compressionRatio) {
+ // We use a limited amount of data over and over again and ensure
+ // that it is larger than the compression window (32KB), and also
+ // large enough to serve all typical value sizes we want to write.
+ Random rnd = new Random(301);
+ data = new byte[1048576 + 100];
+ for (int i = 0; i < 1048576; i += 100) {
+ // Add a short fragment that is as compressible as specified ratio
+ System.arraycopy(compressibleData(rnd, compressionRatio, 100), 0,
+ data, i, 100);
+ }
+ }
+
+ public int getNextPosition(int length) {
+ if (position + length > data.length) {
+ position = 0;
+ assert (length < data.length);
+ }
+ int result = position;
+ position += length;
+ return result;
+ }
+
+ private static byte[] compressibleData(Random random,
+ double compressionRatio, int length) {
+ int raw = (int) (length * compressionRatio);
+ if (raw < 1) {
+ raw = 1;
+ }
+ byte[] rawData = generateRandomData(random, raw);
+
+ // Duplicate the random data until we have filled "length" bytes
+ byte[] dest = new byte[length];
+ for (int i = 0; i < length;) {
+ int chunkLength = Math.min(rawData.length, length - i);
+ System.arraycopy(rawData, 0, dest, i, chunkLength);
+ i += chunkLength;
+ }
+ return dest;
+ }
+
+ private static byte[] generateRandomData(Random random, int length) {
+ byte[] rawData = new byte[length];
+ for (int i = 0; i < rawData.length; i++) {
+ rawData[i] = (byte) random.nextInt(256);
+ }
+ return rawData;
+ }
+}
\ No newline at end of file
diff --git a/src/test/java/org/xerial/snappy/SnappyFramedStreamTest.java b/src/test/java/org/xerial/snappy/SnappyFramedStreamTest.java
new file mode 100644
index 0000000..f2801f7
--- /dev/null
+++ b/src/test/java/org/xerial/snappy/SnappyFramedStreamTest.java
@@ -0,0 +1,373 @@
+/*
+ * Created: Mar 14, 2013
+ */
+package org.xerial.snappy;
+
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+import static org.xerial.snappy.SnappyFramed.COMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.HEADER_BYTES;
+import static org.xerial.snappy.SnappyFramed.UNCOMPRESSED_DATA_FLAG;
+import static org.xerial.snappy.SnappyFramed.maskedCrc32c;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.EOFException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.channels.Channels;
+import java.nio.channels.WritableByteChannel;
+import java.util.Arrays;
+
+import org.junit.Test;
+
+/**
+ * Tests the functionality of {@link org.xerial.snappy.SnappyFramedInputStream}
+ * and {@link org.xerial.snappy.SnappyFramedOutputStream}.
+ *
+ * @author Brett Okken
+ */
+public class SnappyFramedStreamTest {
+
+ /**
+ * @throws IOException
+ */
+ protected OutputStream createOutputStream(OutputStream target)
+ throws IOException {
+ return new SnappyFramedOutputStream(target);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @throws IOException
+ */
+ protected InputStream createInputStream(InputStream source,
+ boolean verifyCheckSums) throws IOException {
+ return new SnappyFramedInputStream(source, verifyCheckSums);
+ }
+
+ protected byte[] getMarkerFrame() {
+ return HEADER_BYTES;
+ }
+
+ @Test
+ public void testSimple() throws Exception {
+ byte[] original = "aaaaaaaaaaaabbbbbbbaaaaaa".getBytes("utf-8");
+
+ byte[] compressed = compress(original);
+ byte[] uncompressed = uncompress(compressed);
+
+ assertArrayEquals(uncompressed, original);
+ // 10 byte stream header, 4 byte block header, 4 byte crc, 19 bytes
+ assertEquals(compressed.length, 37);
+
+ // stream header
+ assertArrayEquals(Arrays.copyOf(compressed, 10), HEADER_BYTES);
+
+ // flag: compressed
+ assertEquals(toInt(compressed[10]), COMPRESSED_DATA_FLAG);
+
+ // length: 23 = 0x000017
+ assertEquals(toInt(compressed[11]), 0x17);
+ assertEquals(toInt(compressed[12]), 0x00);
+ assertEquals(toInt(compressed[13]), 0x00);
+
+ // crc32c: 0x9274cda8
+ assertEquals(toInt(compressed[17]), 0x92);
+ assertEquals(toInt(compressed[16]), 0x74);
+ assertEquals(toInt(compressed[15]), 0xCD);
+ assertEquals(toInt(compressed[14]), 0xA8);
+ }
+
+ @Test
+ public void testUncompressable() throws Exception {
+ byte[] random = getRandom(1, 5000);
+ int crc32c = maskedCrc32c(random);
+
+ byte[] compressed = compress(random);
+ byte[] uncompressed = uncompress(compressed);
+
+ assertArrayEquals(uncompressed, random);
+ assertEquals(compressed.length, random.length + 10 + 4 + 4);
+
+ // flag: uncompressed
+ assertEquals(toInt(compressed[10]), UNCOMPRESSED_DATA_FLAG);
+
+ // length: 5004 = 0x138c
+ assertEquals(toInt(compressed[13]), 0x00);
+ assertEquals(toInt(compressed[12]), 0x13);
+ assertEquals(toInt(compressed[11]), 0x8c);
+ }
+
+ @Test
+ public void testEmptyCompression() throws Exception {
+ byte[] empty = new byte[0];
+ assertArrayEquals(compress(empty), HEADER_BYTES);
+ assertArrayEquals(uncompress(HEADER_BYTES), empty);
+ }
+
+ @Test(expected = EOFException.class)
+ public void testShortBlockHeader() throws Exception {
+ uncompressBlock(new byte[] { 0 });
+ }
+
+ @Test(expected = EOFException.class)
+ public void testShortBlockData() throws Exception {
+ // flag = 0, size = 8, crc32c = 0, block data= [x, x]
+ uncompressBlock(new byte[] { 1, 8, 0, 0, 0, 0, 0, 0, 'x', 'x' });
+ }
+
+ @Test
+ public void testUnskippableChunkFlags() throws Exception {
+ for (int i = 2; i <= 0x7f; i++) {
+ try {
+ uncompressBlock(new byte[] { (byte) i, 5, 0, 0, 0, 0, 0, 0, 0 });
+ fail("no exception thrown with flag: " + Integer.toHexString(i));
+ } catch (IOException e) {
+
+ }
+ }
+ }
+
+ @Test
+ public void testSkippableChunkFlags() throws Exception {
+ for (int i = 0x80; i <= 0xfe; i++) {
+ try {
+ uncompressBlock(new byte[] { (byte) i, 5, 0, 0, 0, 0, 0, 0, 0 });
+ } catch (IOException e) {
+ fail("exception thrown with flag: " + Integer.toHexString(i));
+ }
+ }
+ }
+
+ @Test(expected = IOException.class)
+ public void testInvalidBlockSizeZero() throws Exception {
+ // flag = '0', block size = 4, crc32c = 0
+ uncompressBlock(new byte[] { 1, 4, 0, 0, 0, 0, 0, 0 });
+ }
+
+ @Test(expected = IOException.class)
+ public void testInvalidChecksum() throws Exception {
+ // flag = 0, size = 5, crc32c = 0, block data = [a]
+ uncompressBlock(new byte[] { 1, 5, 0, 0, 0, 0, 0, 0, 'a' });
+ }
+
+ @Test
+ public void testInvalidChecksumIgnoredWhenVerificationDisabled()
+ throws Exception {
+ // flag = 0, size = 4, crc32c = 0, block data = [a]
+ byte[] block = { 1, 5, 0, 0, 0, 0, 0, 0, 'a' };
+ ByteArrayInputStream inputData = new ByteArrayInputStream(
+ blockToStream(block));
+ assertArrayEquals(toByteArray(createInputStream(inputData, false)),
+ new byte[] { 'a' });
+ }
+
+ @Test
+ public void testTransferFrom_InputStream() throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream(
+ random.length);
+ final SnappyFramedOutputStream sfos = new SnappyFramedOutputStream(baos);
+
+ sfos.transferFrom(new ByteArrayInputStream(random));
+
+ sfos.close();
+
+ final byte[] uncompressed = uncompress(baos.toByteArray());
+
+ assertArrayEquals(random, uncompressed);
+ }
+
+ @Test
+ public void testTransferFrom_ReadableByteChannel() throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream(
+ random.length);
+ final SnappyFramedOutputStream sfos = new SnappyFramedOutputStream(baos);
+
+ sfos.transferFrom(Channels.newChannel(new ByteArrayInputStream(random)));
+
+ sfos.close();
+
+ final byte[] uncompressed = uncompress(baos.toByteArray());
+
+ assertArrayEquals(random, uncompressed);
+ }
+
+ @Test
+ public void testTransferTo_OutputStream() throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final byte[] compressed = compress(random);
+ final SnappyFramedInputStream sfis = new SnappyFramedInputStream(
+ new ByteArrayInputStream(compressed));
+
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream(
+ random.length);
+ sfis.transferTo(baos);
+
+ assertArrayEquals(random, baos.toByteArray());
+ }
+
+ @Test
+ public void testTransferTo_WritableByteChannel() throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final byte[] compressed = compress(random);
+ final SnappyFramedInputStream sfis = new SnappyFramedInputStream(
+ new ByteArrayInputStream(compressed));
+
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream(
+ random.length);
+ final WritableByteChannel wbc = Channels.newChannel(baos);
+ sfis.transferTo(wbc);
+ wbc.close();
+
+ assertArrayEquals(random, baos.toByteArray());
+ }
+
+ @Test
+ public void testLargerFrames_raw_() throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final byte[] stream = new byte[HEADER_BYTES.length + 8 + random.length];
+ System.arraycopy(HEADER_BYTES, 0, stream, 0, HEADER_BYTES.length);
+
+ stream[10] = UNCOMPRESSED_DATA_FLAG;
+
+ int length = random.length + 4;
+ stream[11] = (byte) length;
+ stream[12] = (byte) (length >>> 8);
+ stream[13] = (byte) (length >>> 16);
+
+ int crc32c = maskedCrc32c(random);
+ stream[14] = (byte) crc32c;
+ stream[15] = (byte) (crc32c >>> 8);
+ stream[16] = (byte) (crc32c >>> 16);
+ stream[17] = (byte) (crc32c >>> 24);
+
+ System.arraycopy(random, 0, stream, 18, random.length);
+
+ final byte[] uncompressed = uncompress(stream);
+
+ assertArrayEquals(random, uncompressed);
+ }
+
+ @Test
+ public void testLargerFrames_compressed_() throws IOException {
+ final byte[] random = getRandom(0.5, 500000);
+
+ final byte[] compressed = Snappy.compress(random);
+
+ final byte[] stream = new byte[HEADER_BYTES.length + 8 + compressed.length];
+ System.arraycopy(HEADER_BYTES, 0, stream, 0, HEADER_BYTES.length);
+
+ stream[10] = COMPRESSED_DATA_FLAG;
+
+ int length = compressed.length + 4;
+ stream[11] = (byte) length;
+ stream[12] = (byte) (length >>> 8);
+ stream[13] = (byte) (length >>> 16);
+
+ int crc32c = maskedCrc32c(random);
+ stream[14] = (byte) crc32c;
+ stream[15] = (byte) (crc32c >>> 8);
+ stream[16] = (byte) (crc32c >>> 16);
+ stream[17] = (byte) (crc32c >>> 24);
+
+ System.arraycopy(compressed, 0, stream, 18, compressed.length);
+
+ final byte[] uncompressed = uncompress(stream);
+
+ assertArrayEquals(random, uncompressed);
+ }
+
+ @Test
+ public void testLargerFrames_compressed_smaller_raw_larger()
+ throws IOException {
+ final byte[] random = getRandom(0.5, 100000);
+
+ final byte[] compressed = Snappy.compress(random);
+
+ final byte[] stream = new byte[HEADER_BYTES.length + 8
+ + compressed.length];
+ System.arraycopy(HEADER_BYTES, 0, stream, 0, HEADER_BYTES.length);
+
+ stream[10] = COMPRESSED_DATA_FLAG;
+
+ int length = compressed.length + 4;
+ stream[11] = (byte) length;
+ stream[12] = (byte) (length >>> 8);
+ stream[13] = (byte) (length >>> 16);
+
+ int crc32c = maskedCrc32c(random);
+ stream[14] = (byte) crc32c;
+ stream[15] = (byte) (crc32c >>> 8);
+ stream[16] = (byte) (crc32c >>> 16);
+ stream[17] = (byte) (crc32c >>> 24);
+
+ System.arraycopy(compressed, 0, stream, 18, compressed.length);
+
+ final byte[] uncompressed = uncompress(stream);
+
+ assertArrayEquals(random, uncompressed);
+ }
+
+ private byte[] uncompressBlock(byte[] block) throws IOException {
+ return uncompress(blockToStream(block));
+ }
+
+ private static byte[] blockToStream(byte[] block) {
+ byte[] stream = new byte[HEADER_BYTES.length + block.length];
+ System.arraycopy(HEADER_BYTES, 0, stream, 0, HEADER_BYTES.length);
+ System.arraycopy(block, 0, stream, HEADER_BYTES.length, block.length);
+ return stream;
+ }
+
+
+ protected byte[] compress(byte[] original) throws IOException {
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ OutputStream snappyOut = createOutputStream(out);
+ snappyOut.write(original);
+ snappyOut.close();
+ return out.toByteArray();
+ }
+
+ protected byte[] uncompress(byte[] compressed) throws IOException {
+ return toByteArray(createInputStream(new ByteArrayInputStream(
+ compressed), true));
+ }
+
+ private static byte[] toByteArray(InputStream createInputStream) throws IOException {
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream(64 * 1024);
+
+ final byte[] buffer = new byte[8 * 1024];
+
+ int read;
+ while((read = createInputStream.read(buffer)) > 0) {
+ baos.write(buffer, 0, read);
+ }
+
+ return baos.toByteArray();
+ }
+
+ static int toInt(byte value) {
+ return value & 0xFF;
+ }
+
+ private byte[] getRandom(double compressionRatio, int length) {
+ RandomGenerator gen = new RandomGenerator(
+ compressionRatio);
+ gen.getNextPosition(length);
+ byte[] random = Arrays.copyOf(gen.data, length);
+ assertEquals(random.length, length);
+ return random;
+ }
+
+}
diff --git a/src/test/java/org/xerial/snappy/SnappyInputStreamTest.java b/src/test/java/org/xerial/snappy/SnappyInputStreamTest.java
old mode 100644
new mode 100755
index 303f9fb..7e66c58
--- a/src/test/java/org/xerial/snappy/SnappyInputStreamTest.java
+++ b/src/test/java/org/xerial/snappy/SnappyInputStreamTest.java
@@ -48,16 +48,21 @@ public class SnappyInputStreamTest
}
public static byte[] readFully(InputStream input) throws IOException {
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- byte[] buf = new byte[4096];
- for (int readBytes = 0; (readBytes = input.read(buf)) != -1;) {
- out.write(buf, 0, readBytes);
+ try {
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ byte[] buf = new byte[4096];
+ for (int readBytes = 0; (readBytes = input.read(buf)) != -1;) {
+ out.write(buf, 0, readBytes);
+ }
+ out.flush();
+ return out.toByteArray();
+ }
+ finally {
+ input.close();
}
- out.flush();
- return out.toByteArray();
}
- public static byte[] biteWiseReadFully(InputStream input) throws IOException {
+ public static byte[] byteWiseReadFully(InputStream input) throws IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
byte[] buf = new byte[4096];
for (int readData = 0; (readData = input.read()) != -1;) {
@@ -103,10 +108,38 @@ public class SnappyInputStreamTest
byte[] compressed = Snappy.compress(orig);
SnappyInputStream in = new SnappyInputStream(new ByteArrayInputStream(compressed));
- byte[] uncompressed = biteWiseReadFully(in);
+ byte[] uncompressed = byteWiseReadFully(in);
assertEquals(orig.length, uncompressed.length);
assertArrayEquals(orig, uncompressed);
+
+ }
+
+ @Test
+ public void available() throws Exception {
+ byte[] orig = readResourceFile("testdata/calgary/paper6");
+ byte[] compressed = Snappy.compress(orig);
+
+ SnappyInputStream in = new SnappyInputStream(new ByteArrayInputStream(compressed));
+ byte[] buf = new byte[4];
+ for (int readBytes = 0; (readBytes = in.read(buf)) != -1;) {
+ assertTrue(in.available() >= 0);
+ }
+ assertTrue(in.available() == 0);
+ in.close();
+ }
+
+ @Test
+ public void emptyStream() throws Exception {
+ try {
+ SnappyInputStream in = new SnappyInputStream(new ByteArrayInputStream(new byte[0]));
+ byte[] uncompressed = readFully(in);
+ assertEquals(0, uncompressed.length);
+ fail("should not reach here");
+ }
+ catch(SnappyIOException e) {
+ assertEquals(SnappyErrorCode.EMPTY_INPUT, e.getErrorCode());
+ }
}
}
diff --git a/src/test/java/org/xerial/snappy/SnappyLoaderTest.java b/src/test/java/org/xerial/snappy/SnappyLoaderTest.java
old mode 100644
new mode 100755
index 81ecd53..9bcc85f
--- a/src/test/java/org/xerial/snappy/SnappyLoaderTest.java
+++ b/src/test/java/org/xerial/snappy/SnappyLoaderTest.java
@@ -24,23 +24,20 @@
//--------------------------------------
package org.xerial.snappy;
-import static org.junit.Assert.*;
-
-import java.io.BufferedInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.lang.reflect.Method;
-import java.net.URL;
-import java.net.URLClassLoader;
-
import org.codehaus.plexus.classworlds.ClassWorld;
import org.codehaus.plexus.classworlds.realm.ClassRealm;
import org.junit.Test;
import org.xerial.util.FileResource;
import org.xerial.util.log.Logger;
+import java.io.*;
+import java.lang.reflect.Method;
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.fail;
+
public class SnappyLoaderTest
{
private static Logger _logger = Logger.getLogger(SnappyLoaderTest.class);
diff --git a/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java b/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java
old mode 100644
new mode 100755
index 84152f4..de72125
--- a/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java
+++ b/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java
@@ -1,188 +1,211 @@
-/*--------------------------------------------------------------------------
- * Copyright 2011 Taro L. Saito
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *--------------------------------------------------------------------------*/
-//--------------------------------------
-// XerialJ
-//
-// SnappyOutputStreamTest.java
-// Since: 2011/03/31 18:26:31
-//
-// $URL$
-// $Author$
-//--------------------------------------
-package org.xerial.snappy;
-
-import static org.junit.Assert.*;
-
-import java.io.BufferedInputStream;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-import org.junit.Test;
-import org.xerial.util.FileResource;
-import org.xerial.util.log.Logger;
-
-public class SnappyOutputStreamTest
-{
- private static Logger _logger = Logger.getLogger(SnappyOutputStreamTest.class);
-
- @Test
- public void test() throws Exception {
- ByteArrayOutputStream buf = new ByteArrayOutputStream();
- SnappyOutputStream sout = new SnappyOutputStream(buf);
-
- BufferedInputStream input = new BufferedInputStream(FileResource.find(SnappyOutputStreamTest.class,
- "alice29.txt").openStream());
- assertNotNull(input);
-
- ByteArrayOutputStream orig = new ByteArrayOutputStream();
- byte[] tmp = new byte[1024];
- for (int readBytes = 0; (readBytes = input.read(tmp)) != -1;) {
- sout.write(tmp, 0, readBytes);
- orig.write(tmp, 0, readBytes); // preserve the original data
- }
- input.close();
- sout.flush();
- orig.flush();
-
- int compressedSize = buf.size();
- _logger.debug("compressed size: " + compressedSize);
-
- ByteArrayOutputStream decompressed = new ByteArrayOutputStream();
- byte[] compressed = buf.toByteArray();
- // decompress
- for (int cursor = SnappyCodec.headerSize(); cursor < compressed.length;) {
- int chunkSize = SnappyOutputStream.readInt(compressed, cursor);
- cursor += 4;
- byte[] tmpOut = new byte[Snappy.uncompressedLength(compressed, cursor, chunkSize)];
- int decompressedSize = Snappy.uncompress(compressed, cursor, chunkSize, tmpOut, 0);
- cursor += chunkSize;
-
- decompressed.write(tmpOut);
- }
- decompressed.flush();
- assertEquals(orig.size(), decompressed.size());
- assertArrayEquals(orig.toByteArray(), decompressed.toByteArray());
- }
-
- @Test
- public void bufferSize() throws Exception {
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b, 500);
- final int bytesToWrite = 5000;
- byte[] orig = new byte[bytesToWrite];
- for (int i = 0; i < 5000; ++i) {
- byte v = (byte) (i % 128);
- orig[i] = v;
- os.write(v);
- }
- os.close();
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- byte[] buf = new byte[bytesToWrite / 101];
- while (is.read(buf) != -1) {}
- is.close();
- }
-
- @Test
- public void longArrayCompress() throws Exception {
- long[] l = new long[10];
- for (int i = 0; i < l.length; ++i) {
- l[i] = i % 3 + i * 11;
- }
-
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b);
-
- os.write(l);
- os.close();
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- long[] l2 = new long[10];
- int readBytes = is.read(l2);
- is.close();
-
- assertEquals(10 * 8, readBytes);
- assertArrayEquals(l, l2);
-
- }
-
- @Test
- public void writeDoubleArray() throws Exception {
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b);
-
- double[] orig = new double[] { 1.0, 2.0, 1.4, 0.00343430014, -4.4, 4e-20 };
- os.write(orig);
- os.close();
-
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- double[] uncompressed = new double[orig.length];
- is.read(uncompressed);
- is.close();
-
- assertArrayEquals(orig, uncompressed, 0.0);
- }
-
- @Test
- public void writeFloatArray() throws Exception {
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b);
-
- float[] orig = new float[] { 1.0f, 2.0f, 1.4f, 0.00343430014f, -4.4f, 4e-20f };
- os.write(orig);
- os.close();
-
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- float[] uncompressed = new float[orig.length];
- is.read(uncompressed);
- is.close();
-
- assertArrayEquals(orig, uncompressed, 0.0f);
- }
-
- @Test
- public void writeIntArray() throws Exception {
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b);
-
- int[] orig = new int[] { 0, -1, -34, 43, 234, 34324, -234 };
- os.write(orig);
- os.close();
-
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- int[] uncompressed = new int[orig.length];
- is.read(uncompressed);
- is.close();
-
- assertArrayEquals(orig, uncompressed);
- }
-
- @Test
- public void writeShortArray() throws Exception {
- ByteArrayOutputStream b = new ByteArrayOutputStream();
- SnappyOutputStream os = new SnappyOutputStream(b);
-
- short[] orig = new short[] { 0, -1, -34, 43, 234, 324, -234 };
- os.write(orig);
- os.close();
-
- SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
- short[] uncompressed = new short[orig.length];
- is.read(uncompressed);
- is.close();
-
- assertArrayEquals(orig, uncompressed);
- }
-
-}
+/*--------------------------------------------------------------------------
+ * Copyright 2011 Taro L. Saito
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *--------------------------------------------------------------------------*/
+//--------------------------------------
+// XerialJ
+//
+// SnappyOutputStreamTest.java
+// Since: 2011/03/31 18:26:31
+//
+// $URL$
+// $Author$
+//--------------------------------------
+package org.xerial.snappy;
+
+import static org.junit.Assert.*;
+
+import java.io.BufferedInputStream;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+
+import org.junit.Test;
+import org.xerial.util.FileResource;
+import org.xerial.util.log.Logger;
+
+public class SnappyOutputStreamTest
+{
+ private static Logger _logger = Logger.getLogger(SnappyOutputStreamTest.class);
+
+ @Test
+ public void test() throws Exception {
+ ByteArrayOutputStream buf = new ByteArrayOutputStream();
+ SnappyOutputStream sout = new SnappyOutputStream(buf);
+
+ BufferedInputStream input = new BufferedInputStream(FileResource.find(SnappyOutputStreamTest.class,
+ "alice29.txt").openStream());
+ assertNotNull(input);
+
+ ByteArrayOutputStream orig = new ByteArrayOutputStream();
+ byte[] tmp = new byte[1024];
+ for (int readBytes = 0; (readBytes = input.read(tmp)) != -1;) {
+ sout.write(tmp, 0, readBytes);
+ orig.write(tmp, 0, readBytes); // preserve the original data
+ }
+ input.close();
+ sout.flush();
+ orig.flush();
+
+ int compressedSize = buf.size();
+ _logger.debug("compressed size: " + compressedSize);
+
+ ByteArrayOutputStream decompressed = new ByteArrayOutputStream();
+ byte[] compressed = buf.toByteArray();
+ // decompress
+ for (int cursor = SnappyCodec.headerSize(); cursor < compressed.length;) {
+ int chunkSize = SnappyOutputStream.readInt(compressed, cursor);
+ cursor += 4;
+ byte[] tmpOut = new byte[Snappy.uncompressedLength(compressed, cursor, chunkSize)];
+ int decompressedSize = Snappy.uncompress(compressed, cursor, chunkSize, tmpOut, 0);
+ cursor += chunkSize;
+
+ decompressed.write(tmpOut);
+ }
+ decompressed.flush();
+ assertEquals(orig.size(), decompressed.size());
+ assertArrayEquals(orig.toByteArray(), decompressed.toByteArray());
+ }
+
+ @Test
+ public void bufferSize() throws Exception {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b, 1500);
+ final int bytesToWrite = 5000;
+ byte[] orig = new byte[bytesToWrite];
+ for (int i = 0; i < 5000; ++i) {
+ byte v = (byte) (i % 128);
+ orig[i] = v;
+ os.write(v);
+ }
+ os.close();
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ byte[] buf = new byte[bytesToWrite / 101];
+ while (is.read(buf) != -1) {}
+ is.close();
+ }
+
+ @Test
+ public void smallWrites() throws Exception {
+
+ byte[] orig = CalgaryTest.readFile("alice29.txt");
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream out = new SnappyOutputStream(b);
+
+ for(byte c : orig) {
+ out.write(c);
+ }
+ out.close();
+
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ byte[] decompressed = new byte[orig.length];
+ int cursor = 0;
+ int readLen = 0;
+ for(int i=0; i < decompressed.length && (readLen = is.read(decompressed, i, decompressed.length-i)) != -1; ) {
+ i += readLen;
+ }
+ is.close();
+ assertArrayEquals(orig, decompressed);
+ }
+
+ @Test
+ public void longArrayCompress() throws Exception {
+ long[] l = new long[10];
+ for (int i = 0; i < l.length; ++i) {
+ l[i] = i % 3 + i * 11;
+ }
+
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b);
+
+ os.write(l);
+ os.close();
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ long[] l2 = new long[10];
+ int readBytes = is.read(l2);
+ is.close();
+
+ assertEquals(10 * 8, readBytes);
+ assertArrayEquals(l, l2);
+
+ }
+
+ @Test
+ public void writeDoubleArray() throws Exception {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b);
+
+ double[] orig = new double[] { 1.0, 2.0, 1.4, 0.00343430014, -4.4, 4e-20 };
+ os.write(orig);
+ os.close();
+
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ double[] uncompressed = new double[orig.length];
+ is.read(uncompressed);
+ is.close();
+
+ assertArrayEquals(orig, uncompressed, 0.0);
+ }
+
+ @Test
+ public void writeFloatArray() throws Exception {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b);
+
+ float[] orig = new float[] { 1.0f, 2.0f, 1.4f, 0.00343430014f, -4.4f, 4e-20f };
+ os.write(orig);
+ os.close();
+
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ float[] uncompressed = new float[orig.length];
+ is.read(uncompressed);
+ is.close();
+
+ assertArrayEquals(orig, uncompressed, 0.0f);
+ }
+
+ @Test
+ public void writeIntArray() throws Exception {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b);
+
+ int[] orig = new int[] { 0, -1, -34, 43, 234, 34324, -234 };
+ os.write(orig);
+ os.close();
+
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ int[] uncompressed = new int[orig.length];
+ is.read(uncompressed);
+ is.close();
+
+ assertArrayEquals(orig, uncompressed);
+ }
+
+ @Test
+ public void writeShortArray() throws Exception {
+ ByteArrayOutputStream b = new ByteArrayOutputStream();
+ SnappyOutputStream os = new SnappyOutputStream(b);
+
+ short[] orig = new short[] { 0, -1, -34, 43, 234, 324, -234 };
+ os.write(orig);
+ os.close();
+
+ SnappyInputStream is = new SnappyInputStream(new ByteArrayInputStream(b.toByteArray()));
+ short[] uncompressed = new short[orig.length];
+ is.read(uncompressed);
+ is.close();
+
+ assertArrayEquals(orig, uncompressed);
+ }
+
+}
diff --git a/src/test/java/org/xerial/snappy/SnappyTest.java b/src/test/java/org/xerial/snappy/SnappyTest.java
old mode 100644
new mode 100755
diff --git a/src/test/java/org/xerial/snappy/load.code b/src/test/java/org/xerial/snappy/load.code
old mode 100644
new mode 100755
diff --git a/src/test/java/org/xerial/snappy/loadLibrary.code b/src/test/java/org/xerial/snappy/loadLibrary.code
old mode 100644
new mode 100755
diff --git a/src/test/java/org/xerial/snappy/alice29.txt b/src/test/resources/org/xerial/snappy/alice29.txt
old mode 100644
new mode 100755
similarity index 100%
rename from src/test/java/org/xerial/snappy/alice29.txt
rename to src/test/resources/org/xerial/snappy/alice29.txt
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/bib b/src/test/resources/org/xerial/snappy/testdata/calgary/bib
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/bib
rename to src/test/resources/org/xerial/snappy/testdata/calgary/bib
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/book1 b/src/test/resources/org/xerial/snappy/testdata/calgary/book1
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/book1
rename to src/test/resources/org/xerial/snappy/testdata/calgary/book1
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/book2 b/src/test/resources/org/xerial/snappy/testdata/calgary/book2
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/book2
rename to src/test/resources/org/xerial/snappy/testdata/calgary/book2
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/geo b/src/test/resources/org/xerial/snappy/testdata/calgary/geo
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/geo
rename to src/test/resources/org/xerial/snappy/testdata/calgary/geo
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/news b/src/test/resources/org/xerial/snappy/testdata/calgary/news
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/news
rename to src/test/resources/org/xerial/snappy/testdata/calgary/news
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/obj1 b/src/test/resources/org/xerial/snappy/testdata/calgary/obj1
old mode 100644
new mode 100755
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/obj1
rename to src/test/resources/org/xerial/snappy/testdata/calgary/obj1
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/obj2 b/src/test/resources/org/xerial/snappy/testdata/calgary/obj2
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/obj2
rename to src/test/resources/org/xerial/snappy/testdata/calgary/obj2
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper1 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper1
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper1
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper1
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper2 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper2
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper2
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper2
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper3 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper3
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper3
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper3
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper4 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper4
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper4
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper4
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper5 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper5
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper5
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper5
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/paper6 b/src/test/resources/org/xerial/snappy/testdata/calgary/paper6
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/paper6
rename to src/test/resources/org/xerial/snappy/testdata/calgary/paper6
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/pic b/src/test/resources/org/xerial/snappy/testdata/calgary/pic
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/pic
rename to src/test/resources/org/xerial/snappy/testdata/calgary/pic
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/progc b/src/test/resources/org/xerial/snappy/testdata/calgary/progc
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/progc
rename to src/test/resources/org/xerial/snappy/testdata/calgary/progc
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/progl b/src/test/resources/org/xerial/snappy/testdata/calgary/progl
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/progl
rename to src/test/resources/org/xerial/snappy/testdata/calgary/progl
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/progp b/src/test/resources/org/xerial/snappy/testdata/calgary/progp
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/progp
rename to src/test/resources/org/xerial/snappy/testdata/calgary/progp
diff --git a/src/test/java/org/xerial/snappy/testdata/calgary/trans b/src/test/resources/org/xerial/snappy/testdata/calgary/trans
similarity index 100%
rename from src/test/java/org/xerial/snappy/testdata/calgary/trans
rename to src/test/resources/org/xerial/snappy/testdata/calgary/trans
diff --git a/src/test/scala/org/xerial/snappy/SnappyPerformanceTest.scala b/src/test/scala/org/xerial/snappy/SnappyPerformanceTest.scala
new file mode 100644
index 0000000..7eeb60d
--- /dev/null
+++ b/src/test/scala/org/xerial/snappy/SnappyPerformanceTest.scala
@@ -0,0 +1,50 @@
+package org.xerial.snappy
+
+import java.io.{ByteArrayOutputStream, ByteArrayInputStream}
+
+import xerial.core.log.LogLevel
+
+import scala.util.Random
+
+
+/**
+ *
+ */
+class SnappyPerformanceTest extends SnappySpec {
+
+ lazy val data = {
+ val a = new Array[Byte](128 * 1024 * 1024)
+
+ for (i <- (0 until a.length).par) {
+ a(i) = Math.sin(i * 0.01).toByte
+ }
+ a
+ }
+
+
+ "SnappyOutputStream" should {
+
+ "improve output performance" taggedAs("out") in {
+
+ val input = data
+
+ time("compression", repeat=100, logLevel = LogLevel.INFO) {
+ // 0.037 sec. => 0.026
+ block("default") {
+ val out = new ByteArrayOutputStream()
+ val sout = new SnappyOutputStream(out)
+ sout.write(input)
+ sout.close()
+ out.close()
+ }
+
+ }
+
+ //info(f"compressed size: ${compressed.length}%,d, input: ${data.length}%,d")
+ }
+
+
+
+ }
+
+}
diff --git a/src/test/scala/org/xerial/snappy/SnappySpec.scala b/src/test/scala/org/xerial/snappy/SnappySpec.scala
new file mode 100644
index 0000000..1b66135
--- /dev/null
+++ b/src/test/scala/org/xerial/snappy/SnappySpec.scala
@@ -0,0 +1,22 @@
+package org.xerial.snappy
+
+import org.scalatest._
+import xerial.core.log.Logger
+import xerial.core.util.Timer
+
+/**
+ *
+ */
+trait SnappySpec
+ extends WordSpec
+ with Matchers
+ with GivenWhenThen
+ with OptionValues
+ with BeforeAndAfter
+ with Timer
+ with Logger
+{
+
+ implicit def toTag(s:String) : Tag = Tag(s)
+
+}
diff --git a/stylesheet.css b/stylesheet.css
old mode 100644
new mode 100755
diff --git a/version.sbt b/version.sbt
new file mode 100644
index 0000000..12fa701
--- /dev/null
+++ b/version.sbt
@@ -0,0 +1,2 @@
+version in ThisBuild := "1.1.1.6"
+
diff --git a/wiki/Milestone.wiki b/wiki/Milestone.wiki
deleted file mode 100644
index 13d61b0..0000000
--- a/wiki/Milestone.wiki
+++ /dev/null
@@ -1,55 +0,0 @@
-#summary Release plans of snappy-java
-
-
-== Features under consideration ==
- * `SnappyIndexer` for parallel compression/decompression
- * CUI commands (snap/unsnap)
-
-== snappy-java-1.0.4 (September 22nd, 2011) ==
- * Upgrade to snappy-1.0.4
- * Enhanced the Javadoc
-
-== snappy-java-1.0.3.3 (September 10th, 2011) ==
- * Add support for Oracle JRockit JVM. (issue 28)
-
-== snappy-java-1.0.3.2 (August 23rd, 2011) ==
- * Upgrade from the previous release is optional
- * Add system properites to switch sytem installed native library or bundled library (issue 20, issue 26)
- * source code tar ball (issue 25)
- * primitive array read/write support (issue 24)
-
-== snappy-java-1.0.3.1 (August 2nd, 2011) ==
- * Maintenance release (no significant change)
- * Refactoring code
- * Rebuild win32 binary
-
-== snappy-java-1.0.3 (July 11st, 2011) ==
- * Deprected SnappyException. Instead snappy-java uses IOException to issue errors. This change is necessary to support JNI code injection to a parent class loader.
-
-== snappy-java-1.0.3-rc4 (June 27t {h, 2011) ==
- * JNI interface injection so that multiple applications can share the native code. Issue 21
-
-== snappy-java-1.0.3-rc3 (June 21st, 2011) ==
- * Fixes issue 18, issue 19
- * Reduces memory footprint (contribution from Arec Wysoker)
-
-== snappy-java-1.0.3-rc2 (June 7th, 2011) ==
- * Fixes issue 17
-
-== snappy-java-1.0.3-rc1 (June 4th, 2011) ==
- * Upgrade to snappy-1.0.3 done.
- * libstdc++ embedding (only for Linux version) done.
- * Minor bug fixes
-
-== snappy-java-1.0.1-rc4 (April 11th, 2011) ==
- * Primitive array support (e.g. `int[]`, `float[]`, etc.) issue 10
- * String compression/decompression
-
-== snappy-java-1.0.1-rc3 (April 4th, 2011) ==
- * Running tests under win32/mac32, etc.
-
-== snappy-java-1.0.1-rc2 (April 2nd, 2011) ==
- * Adding `SnappyOutputStream` `SnappyInputStream` issue 3
-
-
- * March 29th. Started snappy-java project
\ No newline at end of file
diff --git a/wiki/apidocs/allclasses-frame.html b/wiki/apidocs/allclasses-frame.html
deleted file mode 100644
index 7be1f5f..0000000
--- a/wiki/apidocs/allclasses-frame.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-All Classes (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy" target="classFrame">OSInfo</A>
-<BR>
-<A HREF="org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy" target="classFrame">Snappy</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy" target="classFrame">SnappyBundleActivator</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy" target="classFrame">SnappyCodec</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy" target="classFrame">SnappyError</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy" target="classFrame">SnappyErrorCode</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy" target="classFrame">SnappyException</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy" target="classFrame">SnappyInputStream</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy" target="classFrame">SnappyLoader</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy" target="classFrame">SnappyNative</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy" target="classFrame"><I>SnappyNativeAPI</I></A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy" target="classFrame">SnappyOutputStream</A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/allclasses-noframe.html b/wiki/apidocs/allclasses-noframe.html
deleted file mode 100644
index d2d14b1..0000000
--- a/wiki/apidocs/allclasses-noframe.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:32 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-All Classes (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<BR>
-<A HREF="org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy">SnappyBundleActivator</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><I>SnappyNativeAPI</I></A>
-<BR>
-<A HREF="org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/constant-values.html b/wiki/apidocs/constant-values.html
deleted file mode 100644
index 48412ce..0000000
--- a/wiki/apidocs/constant-values.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Constant Field Values (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Constant Field Values (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
- <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H1>
-Constant Field Values</H1>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-<B>Contents</B><UL>
-<LI><A HREF="#org.xerial">org.xerial.*</A>
-</UL>
-
-<A NAME="org.xerial"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left"><FONT SIZE="+2">
-org.xerial.*</FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="3">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyCodec.DEFAULT_VERSION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyCodec.html#DEFAULT_VERSION">DEFAULT_VERSION</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyCodec.MAGIC_LEN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyCodec.html#MAGIC_LEN">MAGIC_LEN</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyCodec.MINIMUM_COMPATIBLE_VERSION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyCodec.html#MINIMUM_COMPATIBLE_VERSION">MINIMUM_COMPATIBLE_VERSION</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="3">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.KEY_SNAPPY_DISABLE_BUNDLED_LIBS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_DISABLE_BUNDLED_LIBS">KEY_SNAPPY_DISABLE_BUNDLED_LIBS</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org.xerial.snappy.disable.bundled.libs"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.KEY_SNAPPY_LIB_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_NAME">KEY_SNAPPY_LIB_NAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org.xerial.snappy.lib.name"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.KEY_SNAPPY_LIB_PATH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_PATH">KEY_SNAPPY_LIB_PATH</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org.xerial.snappy.lib.path"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.KEY_SNAPPY_TEMPDIR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_TEMPDIR">KEY_SNAPPY_TEMPDIR</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org.xerial.snappy.tempdir"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.KEY_SNAPPY_USE_SYSTEMLIB"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_USE_SYSTEMLIB">KEY_SNAPPY_USE_SYSTEMLIB</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org.xerial.snappy.use.systemlib"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.xerial.snappy.SnappyLoader.SNAPPY_SYSTEM_PROPERTIES_FILE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/xerial/snappy/SnappyLoader.html#SNAPPY_SYSTEM_PROPERTIES_FILE">SNAPPY_SYSTEM_PROPERTIES_FILE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"org-xerial-snappy.properties"</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
- <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/deprecated-list.html b/wiki/apidocs/deprecated-list.html
deleted file mode 100644
index f915e92..0000000
--- a/wiki/apidocs/deprecated-list.html
+++ /dev/null
@@ -1,160 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Deprecated List (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Deprecated List (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>
- <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Deprecated API</B></H2>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-<B>Contents</B><UL>
-<LI><A HREF="#exception">Deprecated Exceptions</A>
-</UL>
-
-<A NAME="exception"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Deprecated Exceptions</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">org.xerial.snappy.SnappyException</A>
-<BR>
- <I>Snappy-java now uses <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A></I> </TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>
- <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/help-doc.html b/wiki/apidocs/help-doc.html
deleted file mode 100644
index c18e3b8..0000000
--- a/wiki/apidocs/help-doc.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:32 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-API Help (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="API Help (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>
- <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H1>
-How This API Document Is Organized</H1>
-</CENTER>
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
-Package</H3>
-<BLOCKQUOTE>
-
-<P>
-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
-<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL>
-</BLOCKQUOTE>
-<H3>
-Class/Interface</H3>
-<BLOCKQUOTE>
-
-<P>
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
-<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
-<P>
-<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
-<P>
-<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
-</BLOCKQUOTE>
-<H3>
-Annotation Type</H3>
-<BLOCKQUOTE>
-
-<P>
-Each annotation type has its own separate page with the following sections:<UL>
-<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL>
-</BLOCKQUOTE>
-</BLOCKQUOTE>
-<H3>
-Enum</H3>
-<BLOCKQUOTE>
-
-<P>
-Each enum has its own separate page with the following sections:<UL>
-<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL>
-</BLOCKQUOTE>
-<H3>
-Use</H3>
-<BLOCKQUOTE>
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</ [...]
-<H3>
-Tree (Class Hierarchy)</H3>
-<BLOCKQUOTE>
-There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
-<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
-</BLOCKQUOTE>
-<H3>
-Deprecated API</H3>
-<BLOCKQUOTE>
-The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
-<H3>
-Index</H3>
-<BLOCKQUOTE>
-The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
-<H3>
-Prev/Next</H3>
-These links take you to the next or previous class, interface, package, or related page.<H3>
-Frames/No Frames</H3>
-These links show and hide the HTML frames. All pages are available with or without frames.
-<P>
-<H3>
-Serialized Form</H3>
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-<P>
-<H3>
-Constant Field Values</H3>
-The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.
-<P>
-<FONT SIZE="-1">
-<EM>
-This help file applies to API documentation generated using the standard doclet.</EM>
-</FONT>
-<BR>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>
- <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/index-all.html b/wiki/apidocs/index-all.html
deleted file mode 100644
index 6b0a54e..0000000
--- a/wiki/apidocs/index-all.html
+++ /dev/null
@@ -1,697 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Index (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Index (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
- <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_K_">K</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <HR>
-<A NAME="_A_"><!-- --></A><H2>
-<B>A</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><B>arrayCopy(Object, int, int, Object, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Copy bytes from source to destination
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><B>arrayCopy(Object, int, int, Object, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><B>arrayCopy(Object, int, int, Object, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_C_"><!-- --></A><H2>
-<B>C</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#close()"><B>close()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Close the stream
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#close()"><B>close()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>close the stream
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#compatibleVersion"><B>compatibleVersion</B></A> -
-Variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(byte[])"><B>compress(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>High-level API for compressing the input byte array.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(byte[], int, int, byte[], int)"><B>compress(byte[], int, int, byte[], int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input buffer content in [inputOffset,
- ...inputOffset+inputLength) then output to the specified output buffer.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(java.nio.ByteBuffer, java.nio.ByteBuffer)"><B>compress(ByteBuffer, ByteBuffer)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the content in the given input buffer.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(char[])"><B>compress(char[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input char array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(double[])"><B>compress(double[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input double array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(float[])"><B>compress(float[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input float array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(int[])"><B>compress(int[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input int array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(long[])"><B>compress(long[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input long array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(short[])"><B>compress(short[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input short array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(java.lang.String)"><B>compress(String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input String
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(java.lang.String, java.lang.String)"><B>compress(String, String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input string using the given encoding
-<DT><A HREF="./org/xerial/snappy/Snappy.html#compress(java.lang.String, java.nio.charset.Charset)"><B>compress(String, Charset)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input string using the given encoding
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#currentHeader()"><B>currentHeader()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_D_"><!-- --></A><H2>
-<B>D</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#DEFAULT_VERSION"><B>DEFAULT_VERSION</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_E_"><!-- --></A><H2>
-<B>E</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyError.html#errorCode"><B>errorCode</B></A> -
-Variable in error org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#errorCode"><B>errorCode</B></A> -
-Variable in exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-</DL>
-<HR>
-<A NAME="_F_"><!-- --></A><H2>
-<B>F</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#flush()"><B>flush()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_G_"><!-- --></A><H2>
-<B>G</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#getArchName()"><B>getArchName()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html#getErrorCode(int)"><B>getErrorCode(int)</B></A> -
-Static method in enum org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#getErrorCode()"><B>getErrorCode()</B></A> -
-Method in exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html#getErrorMessage(int)"><B>getErrorMessage(int)</B></A> -
-Static method in enum org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyError.html#getMessage()"><B>getMessage()</B></A> -
-Method in error org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#getMessage()"><B>getMessage()</B></A> -
-Method in exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#getNativeLibFolderPathForCurrentOS()"><B>getNativeLibFolderPathForCurrentOS()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#getNativeLibraryVersion()"><B>getNativeLibraryVersion()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Get the native library version of the snappy
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#getOSName()"><B>getOSName()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#getVersion()"><B>getVersion()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>Get the snappy-java version by reading pom.properties embedded in jar.
-</DL>
-<HR>
-<A NAME="_H_"><!-- --></A><H2>
-<B>H</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#headerSize()"><B>headerSize()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_I_"><!-- --></A><H2>
-<B>I</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html#id"><B>id</B></A> -
-Variable in enum org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#isNativeLibraryLoaded()"><B>isNativeLibraryLoaded()</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[], int, int)"><B>isValidCompressedBuffer(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[])"><B>isValidCompressedBuffer(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#isValidCompressedBuffer(java.nio.ByteBuffer)"><B>isValidCompressedBuffer(ByteBuffer)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Returns true iff the contents of compressed buffer [pos() ...
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#isValidCompressedBuffer(java.nio.ByteBuffer, int, int)"><B>isValidCompressedBuffer(ByteBuffer, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#isValidCompressedBuffer(java.lang.Object, int, int)"><B>isValidCompressedBuffer(Object, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.nio.ByteBuffer, int, int)"><B>isValidCompressedBuffer(ByteBuffer, int, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.lang.Object, int, int)"><B>isValidCompressedBuffer(Object, int, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#isValidMagicHeader()"><B>isValidMagicHeader()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_K_"><!-- --></A><H2>
-<B>K</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_DISABLE_BUNDLED_LIBS"><B>KEY_SNAPPY_DISABLE_BUNDLED_LIBS</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_NAME"><B>KEY_SNAPPY_LIB_NAME</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_PATH"><B>KEY_SNAPPY_LIB_PATH</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_TEMPDIR"><B>KEY_SNAPPY_TEMPDIR</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_USE_SYSTEMLIB"><B>KEY_SNAPPY_USE_SYSTEMLIB</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_M_"><!-- --></A><H2>
-<B>M</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#magic"><B>magic</B></A> -
-Variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#MAGIC_HEADER"><B>MAGIC_HEADER</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#MAGIC_LEN"><B>MAGIC_LEN</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#main(java.lang.String[])"><B>main(String[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#maxCompressedLength(int)"><B>maxCompressedLength(int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Get the maximum byte size needed for compressing data of the given byte
- size.
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#maxCompressedLength(int)"><B>maxCompressedLength(int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#maxCompressedLength(int)"><B>maxCompressedLength(int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#MINIMUM_COMPATIBLE_VERSION"><B>MINIMUM_COMPATIBLE_VERSION</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_N_"><!-- --></A><H2>
-<B>N</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#nativeLibraryVersion()"><B>nativeLibraryVersion()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#nativeLibraryVersion()"><B>nativeLibraryVersion()</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_O_"><!-- --></A><H2>
-<B>O</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/package-summary.html"><B>org.xerial.snappy</B></A> - package org.xerial.snappy<DD>Snappy API for compressing/decompressing data.<DT><A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><B>OSInfo</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>Provides OS name and architecture name.<DT><A HREF="./org/xerial/snappy/OSInfo.html#OSInfo()"><B>OSInfo()</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_R_"><!-- --></A><H2>
-<B>R</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#rawCompress(java.lang.Object, int)"><B>rawCompress(Object, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input data and produce a byte array of the uncompressed data
-<DT><A HREF="./org/xerial/snappy/Snappy.html#rawCompress(java.lang.Object, int, int, byte[], int)"><B>rawCompress(Object, int, int, byte[], int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Compress the input buffer [offset,...
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><B>rawCompress(ByteBuffer, int, int, ByteBuffer, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#rawCompress(java.lang.Object, int, int, java.lang.Object, int)"><B>rawCompress(Object, int, int, Object, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><B>rawCompress(ByteBuffer, int, int, ByteBuffer, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.lang.Object, int, int, java.lang.Object, int)"><B>rawCompress(Object, int, int, Object, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#rawRead(java.lang.Object, int, int)"><B>rawRead(Object, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read uncompressed data into the specified array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#rawUncompress(byte[], int, int, java.lang.Object, int)"><B>rawUncompress(byte[], int, int, Object, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the content in the input buffer.
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><B>rawUncompress(ByteBuffer, int, int, ByteBuffer, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#rawUncompress(java.lang.Object, int, int, java.lang.Object, int)"><B>rawUncompress(Object, int, int, Object, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><B>rawUncompress(ByteBuffer, int, int, ByteBuffer, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.lang.Object, int, int, java.lang.Object, int)"><B>rawUncompress(Object, int, int, Object, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#rawWrite(java.lang.Object, int, int)"><B>rawWrite(Object, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the raw byte array data.
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(byte[], int, int)"><B>read(byte[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Reads up to len bytes of data from the input stream into an array of
- bytes.
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(long[], int, int)"><B>read(long[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read long array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(long[])"><B>read(long[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read long array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(double[], int, int)"><B>read(double[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read double array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(double[])"><B>read(double[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read double array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(int[])"><B>read(int[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read int array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(int[], int, int)"><B>read(int[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read int array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(float[], int, int)"><B>read(float[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read float array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(float[])"><B>read(float[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read float array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(short[], int, int)"><B>read(short[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read short array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read(short[])"><B>read(short[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Read short array from the stream
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#read()"><B>read()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Reads the next byte of uncompressed data from the input stream.
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#readHeader(java.io.InputStream)"><B>readHeader(InputStream)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_S_"><!-- --></A><H2>
-<B>S</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>Snappy</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>Snappy API for data compression/decompression<DT><A HREF="./org/xerial/snappy/Snappy.html#Snappy()"><B>Snappy()</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#SNAPPY_SYSTEM_PROPERTIES_FILE"><B>SNAPPY_SYSTEM_PROPERTIES_FILE</B></A> -
-Static variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>SnappyBundleActivator</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>OSGi bundle entry point<DT><A HREF="./org/xerial/snappy/SnappyBundleActivator.html#SnappyBundleActivator()"><B>SnappyBundleActivator()</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy">SnappyBundleActivator</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>SnappyCodec</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>Preamble header for <A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.<DT><A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>SnappyError</B></A> - Error in <A HREF="./org/xerial/snappy/pa [...]
-Constructor for error org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.Error)"><B>SnappyError(SnappyErrorCode, Error)</B></A> -
-Constructor for error org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.String)"><B>SnappyError(SnappyErrorCode, String)</B></A> -
-Constructor for error org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>SnappyErrorCode</B></A> - Enum in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>Error codes of snappy-java<DT><A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>SnappyException</B></A> - Exception in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD><B>Deprecated.</B> <I>Snappy-java now uses <A HREF= [...]
-Constructor for exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode)"><B>SnappyException(SnappyErrorCode)</B></A> -
-Constructor for exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.Exception)"><B>SnappyException(SnappyErrorCode, Exception)</B></A> -
-Constructor for exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.String)"><B>SnappyException(SnappyErrorCode, String)</B></A> -
-Constructor for exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>SnappyInputStream</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>A stream filter for reading data compressed by <A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.<DT><A HREF="./org/xerial/snappy/SnappyInputStream.html#SnappyInputStream(java.io.InputStream)"><B>SnappyInputSt [...]
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A>
-<DD>Create a filter for reading compressed data as a uncompressed stream
-<DT><A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>SnappyLoader</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD><b>Internal only - Do not use this class.</b> This class loads a native
- library of snappy-java (snappyjava.dll, libsnappy.so, etc.) according to the
- user platform (<i>os.name</i> and <i>os.arch</i>).<DT><A HREF="./org/xerial/snappy/SnappyLoader.html#SnappyLoader()"><B>SnappyLoader()</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>SnappyNative</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD><b>Internal only - Do not use this class.</b> JNI interface of the
- <A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><CODE>SnappyNativeAPI</CODE></A> implementation.<DT><A HREF="./org/xerial/snappy/SnappyNative.html#SnappyNative()"><B>SnappyNative()</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>SnappyNativeAPI</B></A> - Interface in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD><b>Internal only - Do not use this class.</b>
-
- Interface to access the native code of Snappy.<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><B>SnappyOutputStream</B></A> - Class in <A HREF="./org/xerial/snappy/package-summary.html">org.xerial.snappy</A><DD>This class implements a stream filter for writing compressed data using
- Snappy.<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#SnappyOutputStream(java.io.OutputStream)"><B>SnappyOutputStream(OutputStream)</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#SnappyOutputStream(java.io.OutputStream, int)"><B>SnappyOutputStream(OutputStream, int)</B></A> -
-Constructor for class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyBundleActivator.html#start(org.osgi.framework.BundleContext)"><B>start(BundleContext)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy">SnappyBundleActivator</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyBundleActivator.html#stop(org.osgi.framework.BundleContext)"><B>stop(BundleContext)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy">SnappyBundleActivator</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_T_"><!-- --></A><H2>
-<B>T</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#throw_error(int)"><B>throw_error(int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#throw_error(int)"><B>throw_error(int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyException.html#throwException(int)"><B>throwException(int)</B></A> -
-Static method in exception org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A>
-<DD><B>Deprecated.</B>
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#toString()"><B>toString()</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#translateArchNameToFolderName(java.lang.String)"><B>translateArchNameToFolderName(String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/OSInfo.html#translateOSNameToFolderName(java.lang.String)"><B>translateOSNameToFolderName(String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_U_"><!-- --></A><H2>
-<B>U</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompress(byte[])"><B>uncompress(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>High-level API for uncompressing the input byte array.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompress(byte[], int, int, byte[], int)"><B>uncompress(byte[], int, int, byte[], int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the content in the input buffer.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompress(java.nio.ByteBuffer, java.nio.ByteBuffer)"><B>uncompress(ByteBuffer, ByteBuffer)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the content in the input buffer.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressCharArray(byte[])"><B>uncompressCharArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input data as char array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressCharArray(byte[], int, int)"><B>uncompressCharArray(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, .., offset+length) as a char array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressDoubleArray(byte[])"><B>uncompressDoubleArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a double array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressedLength(byte[])"><B>uncompressedLength(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Get the uncompressed byte size of the given compressed input.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressedLength(byte[], int, int)"><B>uncompressedLength(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Get the uncompressed byte size of the given compressed input.
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressedLength(java.nio.ByteBuffer)"><B>uncompressedLength(ByteBuffer)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Get the uncompressed byte size of the given compressed input.
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#uncompressedLength(java.nio.ByteBuffer, int, int)"><B>uncompressedLength(ByteBuffer, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNative.html#uncompressedLength(java.lang.Object, int, int)"><B>uncompressedLength(Object, int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.nio.ByteBuffer, int, int)"><B>uncompressedLength(ByteBuffer, int, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.lang.Object, int, int)"><B>uncompressedLength(Object, int, int)</B></A> -
-Method in interface org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A>
-<DD>
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressFloatArray(byte[])"><B>uncompressFloatArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a float array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressFloatArray(byte[], int, int)"><B>uncompressFloatArray(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a float array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressIntArray(byte[])"><B>uncompressIntArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input data as an int array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressIntArray(byte[], int, int)"><B>uncompressIntArray(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as an int array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressLongArray(byte[])"><B>uncompressLongArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input data as a long array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressLongArray(byte[], int, int)"><B>uncompressLongArray(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a long array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressShortArray(byte[])"><B>uncompressShortArray(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a short array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressShortArray(byte[], int, int)"><B>uncompressShortArray(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a short array
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[])"><B>uncompressString(byte[])</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a String
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int)"><B>uncompressString(byte[], int, int)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a String
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int, java.lang.String)"><B>uncompressString(byte[], int, int, String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a String of the given
- encoding
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int, java.nio.charset.Charset)"><B>uncompressString(byte[], int, int, Charset)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input[offset, offset+length) as a String of the given
- encoding
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[], java.lang.String)"><B>uncompressString(byte[], String)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a String of the given encoding
-<DT><A HREF="./org/xerial/snappy/Snappy.html#uncompressString(byte[], java.nio.charset.Charset)"><B>uncompressString(byte[], Charset)</B></A> -
-Static method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A>
-<DD>Uncompress the input as a String of the given encoding
-</DL>
-<HR>
-<A NAME="_V_"><!-- --></A><H2>
-<B>V</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html#valueOf(java.lang.String)"><B>valueOf(String)</B></A> -
-Static method in enum org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<DD>Returns the enum constant of this type with the specified name.
-<DT><A HREF="./org/xerial/snappy/SnappyErrorCode.html#values()"><B>values()</B></A> -
-Static method in enum org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>
-<DD>Returns an array containing the constants of this enum type, in
-the order they are declared.
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#version"><B>version</B></A> -
-Variable in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A NAME="_W_"><!-- --></A><H2>
-<B>W</B></H2>
-<DL>
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(byte[], int, int)"><B>write(byte[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Writes len bytes from the specified byte array starting at offset off to
- this output stream.
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(long[], int, int)"><B>write(long[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input long array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(double[], int, int)"><B>write(double[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input double array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(float[], int, int)"><B>write(float[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input float array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(int[], int, int)"><B>write(int[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input int array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(short[], int, int)"><B>write(short[], int, int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input short array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(long[])"><B>write(long[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(double[])"><B>write(double[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(float[])"><B>write(float[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(int[])"><B>write(int[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(short[])"><B>write(short[])</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Compress the input array data
-<DT><A HREF="./org/xerial/snappy/SnappyOutputStream.html#write(int)"><B>write(int)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A>
-<DD>Writes the specified byte to this output stream.
-<DT><A HREF="./org/xerial/snappy/SnappyCodec.html#writeHeader(java.io.OutputStream)"><B>writeHeader(OutputStream)</B></A> -
-Method in class org.xerial.snappy.<A HREF="./org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A>
-<DD>
-</DL>
-<HR>
-<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_K_">K</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A>
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
- <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/index.html b/wiki/apidocs/index.html
deleted file mode 100644
index 4a754c3..0000000
--- a/wiki/apidocs/index.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Mon Sep 26 23:28:32 JST 2011-->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Snappy for Java 1.0.4.1-SNAPSHOT API
-</TITLE>
-<SCRIPT type="text/javascript">
- targetPage = "" + window.location.search;
- if (targetPage != "" && targetPage != "undefined")
- targetPage = targetPage.substring(1);
- if (targetPage.indexOf(":") != -1)
- targetPage = "undefined";
- function loadFrames() {
- if (targetPage != "" && targetPage != "undefined")
- top.classFrame.location = top.targetPage;
- }
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-</HEAD>
-<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
-<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
-<FRAME src="org/xerial/snappy/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
-<NOFRAMES>
-<H2>
-Frame Alert</H2>
-
-<P>
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-Link to<A HREF="org/xerial/snappy/package-summary.html">Non-frame version.</A>
-</NOFRAMES>
-</FRAMESET>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/OSInfo.html b/wiki/apidocs/org/xerial/snappy/OSInfo.html
deleted file mode 100644
index 537ebe8..0000000
--- a/wiki/apidocs/org/xerial/snappy/OSInfo.html
+++ /dev/null
@@ -1,354 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:30 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-OSInfo (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="OSInfo (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OSInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/OSInfo.html" target="_top"><B>FRAMES</B></A>
- <A HREF="OSInfo.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class OSInfo</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.OSInfo</B>
-</PRE>
-<HR>
-<DL>
-<DT><PRE>public class <B>OSInfo</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
-</PRE>
-
-<P>
-Provides OS name and architecture name.
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#OSInfo()">OSInfo</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#getArchName()">getArchName</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#getNativeLibFolderPathForCurrentOS()">getNativeLibFolderPathForCurrentOS</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#getOSName()">getOSName</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#main(java.lang.String[])">main</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] args)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#translateArchNameToFolderName(java.lang.String)">translateArchNameToFolderName</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> archName)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/OSInfo.html#translateOSNameToFolderName(java.lang.String)">translateOSNameToFolderName</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> osName)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="OSInfo()"><!-- --></A><H3>
-OSInfo</H3>
-<PRE>
-public <B>OSInfo</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="main(java.lang.String[])"><!-- --></A><H3>
-main</H3>
-<PRE>
-public static void <B>main</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] args)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNativeLibFolderPathForCurrentOS()"><!-- --></A><H3>
-getNativeLibFolderPathForCurrentOS</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getNativeLibFolderPathForCurrentOS</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getOSName()"><!-- --></A><H3>
-getOSName</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getOSName</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getArchName()"><!-- --></A><H3>
-getArchName</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getArchName</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="translateOSNameToFolderName(java.lang.String)"><!-- --></A><H3>
-translateOSNameToFolderName</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>translateOSNameToFolderName</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> osName)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="translateArchNameToFolderName(java.lang.String)"><!-- --></A><H3>
-translateArchNameToFolderName</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>translateArchNameToFolderName</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> archName)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OSInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/OSInfo.html" target="_top"><B>FRAMES</B></A>
- <A HREF="OSInfo.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/Snappy.html b/wiki/apidocs/org/xerial/snappy/Snappy.html
deleted file mode 100644
index 4d150db..0000000
--- a/wiki/apidocs/org/xerial/snappy/Snappy.html
+++ /dev/null
@@ -1,1472 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:30 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Snappy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/Snappy.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Snappy.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class Snappy</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.Snappy</B>
-</PRE>
-<HR>
-<DL>
-<DT><PRE>public class <B>Snappy</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
-</PRE>
-
-<P>
-Snappy API for data compression/decompression
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#Snappy()">Snappy</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)">arrayCopy</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dest_offset)</CODE>
-
-<BR>
- Copy bytes from source to destination</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(byte[])">compress</A></B>(byte[] input)</CODE>
-
-<BR>
- High-level API for compressing the input byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(byte[], int, int, byte[], int)">compress</A></B>(byte[] input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)</CODE>
-
-<BR>
- Compress the input buffer content in [inputOffset,
- ...inputOffset+inputLength) then output to the specified output buffer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(java.nio.ByteBuffer, java.nio.ByteBuffer)">compress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)</CODE>
-
-<BR>
- Compress the content in the given input buffer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(char[])">compress</A></B>(char[] input)</CODE>
-
-<BR>
- Compress the input char array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(double[])">compress</A></B>(double[] input)</CODE>
-
-<BR>
- Compress the input double array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(float[])">compress</A></B>(float[] input)</CODE>
-
-<BR>
- Compress the input float array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(int[])">compress</A></B>(int[] input)</CODE>
-
-<BR>
- Compress the input int array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(long[])">compress</A></B>(long[] input)</CODE>
-
-<BR>
- Compress the input long array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(short[])">compress</A></B>(short[] input)</CODE>
-
-<BR>
- Compress the input short array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(java.lang.String)">compress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s)</CODE>
-
-<BR>
- Compress the input String</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(java.lang.String, java.nio.charset.Charset)">compress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)</CODE>
-
-<BR>
- Compress the input string using the given encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#compress(java.lang.String, java.lang.String)">compress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)</CODE>
-
-<BR>
- Compress the input string using the given encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#getNativeLibraryVersion()">getNativeLibraryVersion</A></B>()</CODE>
-
-<BR>
- Get the native library version of the snappy</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[])">isValidCompressedBuffer</A></B>(byte[] input)</CODE>
-
-<BR>
- Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[], int, int)">isValidCompressedBuffer</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(java.nio.ByteBuffer)">isValidCompressedBuffer</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)</CODE>
-
-<BR>
- Returns true iff the contents of compressed buffer [pos() ...</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#maxCompressedLength(int)">maxCompressedLength</A></B>(int byteSize)</CODE>
-
-<BR>
- Get the maximum byte size needed for compressing data of the given byte
- size.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#rawCompress(java.lang.Object, int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> data,
- int byteSize)</CODE>
-
-<BR>
- Compress the input data and produce a byte array of the uncompressed data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#rawCompress(java.lang.Object, int, int, byte[], int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)</CODE>
-
-<BR>
- Compress the input buffer [offset,...</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#rawUncompress(byte[], int, int, java.lang.Object, int)">rawUncompress</A></B>(byte[] input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</CODE>
-
-<BR>
- Uncompress the content in the input buffer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompress(byte[])">uncompress</A></B>(byte[] input)</CODE>
-
-<BR>
- High-level API for uncompressing the input byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompress(byte[], int, int, byte[], int)">uncompress</A></B>(byte[] input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)</CODE>
-
-<BR>
- Uncompress the content in the input buffer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompress(java.nio.ByteBuffer, java.nio.ByteBuffer)">uncompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed)</CODE>
-
-<BR>
- Uncompress the content in the input buffer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static char[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressCharArray(byte[])">uncompressCharArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input data as char array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static char[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressCharArray(byte[], int, int)">uncompressCharArray</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, .., offset+length) as a char array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static double[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressDoubleArray(byte[])">uncompressDoubleArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input as a double array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressedLength(byte[])">uncompressedLength</A></B>(byte[] input)</CODE>
-
-<BR>
- Get the uncompressed byte size of the given compressed input.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressedLength(byte[], int, int)">uncompressedLength</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Get the uncompressed byte size of the given compressed input.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressedLength(java.nio.ByteBuffer)">uncompressedLength</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)</CODE>
-
-<BR>
- Get the uncompressed byte size of the given compressed input.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static float[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressFloatArray(byte[])">uncompressFloatArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input as a float array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static float[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressFloatArray(byte[], int, int)">uncompressFloatArray</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a float array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressIntArray(byte[])">uncompressIntArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input data as an int array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressIntArray(byte[], int, int)">uncompressIntArray</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as an int array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static long[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressLongArray(byte[])">uncompressLongArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input data as a long array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static long[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressLongArray(byte[], int, int)">uncompressLongArray</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a long array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static short[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressShortArray(byte[])">uncompressShortArray</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input as a short array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static short[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressShortArray(byte[], int, int)">uncompressShortArray</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a short array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[])">uncompressString</A></B>(byte[] input)</CODE>
-
-<BR>
- Uncompress the input as a String</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[], java.nio.charset.Charset)">uncompressString</A></B>(byte[] input,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)</CODE>
-
-<BR>
- Uncompress the input as a String of the given encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int)">uncompressString</A></B>(byte[] input,
- int offset,
- int length)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a String</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int, java.nio.charset.Charset)">uncompressString</A></B>(byte[] input,
- int offset,
- int length,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a String of the given
- encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[], int, int, java.lang.String)">uncompressString</A></B>(byte[] input,
- int offset,
- int length,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)</CODE>
-
-<BR>
- Uncompress the input[offset, offset+length) as a String of the given
- encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/Snappy.html#uncompressString(byte[], java.lang.String)">uncompressString</A></B>(byte[] input,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)</CODE>
-
-<BR>
- Uncompress the input as a String of the given encoding</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="Snappy()"><!-- --></A><H3>
-Snappy</H3>
-<PRE>
-public <B>Snappy</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-arrayCopy</H3>
-<PRE>
-public static void <B>arrayCopy</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dest_offset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Copy bytes from source to destination
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>src</CODE> - pointer to the source array<DD><CODE>offset</CODE> - byte offset in the source array<DD><CODE>byteLength</CODE> - the number of bytes to copy<DD><CODE>dest</CODE> - pointer to the destination array<DD><CODE>dest_offset</CODE> - byte offset in the destination array
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(byte[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>High-level API for compressing the input byte array. This method performs
- array copy to generate the result. If you want to reduce the memory copy
- cost, use <A HREF="../../../org/xerial/snappy/Snappy.html#compress(byte[], int, int, byte[], int)"><CODE>compress(byte[], int, int, byte[], int)</CODE></A> or
- <A HREF="../../../org/xerial/snappy/Snappy.html#compress(java.nio.ByteBuffer, java.nio.ByteBuffer)"><CODE>compress(ByteBuffer, ByteBuffer)</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - the input data
-<DT><B>Returns:</B><DD>the compressed byte array
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(byte[], int, int, byte[], int)"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static int <B>compress</B>(byte[] input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input buffer content in [inputOffset,
- ...inputOffset+inputLength) then output to the specified output buffer.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>inputOffset</CODE> - <DD><CODE>inputLength</CODE> - <DD><CODE>output</CODE> - <DD><CODE>outputOffset</CODE> -
-<DT><B>Returns:</B><DD>byte size of the compressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to access the input/output buffer</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(java.nio.ByteBuffer, java.nio.ByteBuffer)"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static int <B>compress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the content in the given input buffer. After the compression,
- you can retrieve the compressed data from the output buffer [pos() ...
- limit()) (compressed data size = limit() - pos() = remaining())
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>uncompressed</CODE> - buffer[pos() ... limit()) containing the input data<DD><CODE>compressed</CODE> - output of the compressed data. Uses range [pos()..].
-<DT><B>Returns:</B><DD>byte size of the compressed data.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A></CODE> - when the input is not a direct buffer
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(char[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(char[] input)</PRE>
-<DL>
-<DD>Compress the input char array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(double[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(double[] input)</PRE>
-<DL>
-<DD>Compress the input double array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(float[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(float[] input)</PRE>
-<DL>
-<DD>Compress the input float array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(int[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(int[] input)</PRE>
-<DL>
-<DD>Compress the input int array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(long[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(long[] input)</PRE>
-<DL>
-<DD>Compress the input long array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(short[])"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(short[] input)</PRE>
-<DL>
-<DD>Compress the input short array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(java.lang.String)"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input String
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>s</CODE> -
-<DT><B>Returns:</B><DD>the compressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(java.lang.String, java.lang.String)"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A>,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input string using the given encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>s</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the compressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compress(java.lang.String, java.nio.charset.Charset)"><!-- --></A><H3>
-compress</H3>
-<PRE>
-public static byte[] <B>compress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> s,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input string using the given encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>s</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the compressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNativeLibraryVersion()"><!-- --></A><H3>
-getNativeLibraryVersion</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getNativeLibraryVersion</B>()</PRE>
-<DL>
-<DD>Get the native library version of the snappy
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>native library version</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(byte[], int, int)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-public static boolean <B>isValidCompressedBuffer</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully. Does not return the
- uncompressed data. Takes time proportional to the input length, but is
- usually at least a factor of four faster than actual decompression.
-<P>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(byte[])"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-public static boolean <B>isValidCompressedBuffer</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Returns true iff the contents of compressed buffer [offset,
- offset+length) can be uncompressed successfully. Does not return the
- uncompressed data. Takes time proportional to the input length, but is
- usually at least a factor of four faster than actual decompression.
-<P>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(java.nio.ByteBuffer)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-public static boolean <B>isValidCompressedBuffer</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Returns true iff the contents of compressed buffer [pos() ... limit())
- can be uncompressed successfully. Does not return the uncompressed data.
- Takes time proportional to the input length, but is usually at least a
- factor of four faster than actual decompression.
-<P>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="maxCompressedLength(int)"><!-- --></A><H3>
-maxCompressedLength</H3>
-<PRE>
-public static int <B>maxCompressedLength</B>(int byteSize)</PRE>
-<DL>
-<DD>Get the maximum byte size needed for compressing data of the given byte
- size.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>byteSize</CODE> - byte size of the data to compress
-<DT><B>Returns:</B><DD>maximum byte size of the compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.lang.Object, int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-public static byte[] <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> data,
- int byteSize)</PRE>
-<DL>
-<DD>Compress the input data and produce a byte array of the uncompressed data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>data</CODE> - input array. The input MUST be an array type<DD><CODE>byteSize</CODE> - the input byte size
-<DT><B>Returns:</B><DD>compressed data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.lang.Object, int, int, byte[], int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-public static int <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input buffer [offset,... ,offset+length) contents, then
- write the compressed data to the output buffer[offset, ...)
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - input array. This MUST be a primitive array type<DD><CODE>inputOffset</CODE> - byte offset at the output array<DD><CODE>inputLength</CODE> - byte length of the input data<DD><CODE>output</CODE> - output array. This MUST be a primitive array type<DD><CODE>outputOffset</CODE> - byte offset at the output array
-<DT><B>Returns:</B><DD>byte size of the compressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawUncompress(byte[], int, int, java.lang.Object, int)"><!-- --></A><H3>
-rawUncompress</H3>
-<PRE>
-public static int <B>rawUncompress</B>(byte[] input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the content in the input buffer. The uncompressed data is
- written to the output buffer.
-
- Note that if you pass the wrong data or the range [inputOffset,
- inputOffset + inputLength) that cannot be uncompressed, your JVM might
- crash due to the access violation exception issued in the native code
- written in C++. To avoid this type of crash, use
- <A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[], int, int)"><CODE>isValidCompressedBuffer(byte[], int, int)</CODE></A> first.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - input byte array<DD><CODE>inputOffset</CODE> - byte offset in the input byte array<DD><CODE>inputLength</CODE> - byte length of the input data<DD><CODE>output</CODE> - output buffer, MUST be a primitive type array<DD><CODE>outputOffset</CODE> - byte offset in the output buffer
-<DT><B>Returns:</B><DD>the byte size of the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to uncompress the input data</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompress(byte[])"><!-- --></A><H3>
-uncompress</H3>
-<PRE>
-public static byte[] <B>uncompress</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>High-level API for uncompressing the input byte array.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed byte array
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompress(byte[], int, int, byte[], int)"><!-- --></A><H3>
-uncompress</H3>
-<PRE>
-public static int <B>uncompress</B>(byte[] input,
- int inputOffset,
- int inputLength,
- byte[] output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the content in the input buffer. The uncompressed data is
- written to the output buffer.
-
- Note that if you pass the wrong data or the range [inputOffset,
- inputOffset + inputLength) that cannot be uncompressed, your JVM might
- crash due to the access violation exception issued in the native code
- written in C++. To avoid this type of crash, use
- <A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(byte[], int, int)"><CODE>isValidCompressedBuffer(byte[], int, int)</CODE></A> first.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>inputOffset</CODE> - <DD><CODE>inputLength</CODE> - <DD><CODE>output</CODE> - <DD><CODE>outputOffset</CODE> -
-<DT><B>Returns:</B><DD>the byte size of the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompress(java.nio.ByteBuffer, java.nio.ByteBuffer)"><!-- --></A><H3>
-uncompress</H3>
-<PRE>
-public static int <B>uncompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the content in the input buffer. The result is dumped to the
- specified output buffer.
-
- Note that if you pass the wrong data or the range [pos(), limit()) that
- cannot be uncompressed, your JVM might crash due to the access violation
- exception issued in the native code written in C++. To avoid this type of
- crash, use <A HREF="../../../org/xerial/snappy/Snappy.html#isValidCompressedBuffer(java.nio.ByteBuffer)"><CODE>isValidCompressedBuffer(ByteBuffer)</CODE></A> first.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>compressed</CODE> - buffer[pos() ... limit()) containing the input data<DD><CODE>uncompressed</CODE> - output of the the uncompressed data. It uses buffer[pos()..]
-<DT><B>Returns:</B><DD>uncompressed data size
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to uncompress the given input
-<DD><CODE><A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A></CODE> - when the input is not a direct buffer</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressCharArray(byte[])"><!-- --></A><H3>
-uncompressCharArray</H3>
-<PRE>
-public static char[] <B>uncompressCharArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input data as char array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressCharArray(byte[], int, int)"><!-- --></A><H3>
-uncompressCharArray</H3>
-<PRE>
-public static char[] <B>uncompressCharArray</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, .., offset+length) as a char array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressDoubleArray(byte[])"><!-- --></A><H3>
-uncompressDoubleArray</H3>
-<PRE>
-public static double[] <B>uncompressDoubleArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input as a double array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(byte[])"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-public static int <B>uncompressedLength</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Get the uncompressed byte size of the given compressed input. This
- operation takes O(1) time.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>uncompressed byte size of the the given input data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to uncompress the given input. The error code is
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#PARSING_ERROR"><CODE>SnappyErrorCode.PARSING_ERROR</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(byte[], int, int)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-public static int <B>uncompressedLength</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Get the uncompressed byte size of the given compressed input. This
- operation takes O(1) time.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>uncompressed byte size of the the given input data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to uncompress the given input. The error code is
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#PARSING_ERROR"><CODE>SnappyErrorCode.PARSING_ERROR</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(java.nio.ByteBuffer)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-public static int <B>uncompressedLength</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Get the uncompressed byte size of the given compressed input. This
- operation taks O(1) time.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>compressed</CODE> - input data [pos() ... limit())
-<DT><B>Returns:</B><DD>uncompressed byte length of the given input
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - when failed to uncompress the given input. The error code is
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#PARSING_ERROR"><CODE>SnappyErrorCode.PARSING_ERROR</CODE></A>
-<DD><CODE><A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A></CODE> - when the input is not a direct buffer</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressFloatArray(byte[])"><!-- --></A><H3>
-uncompressFloatArray</H3>
-<PRE>
-public static float[] <B>uncompressFloatArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input as a float array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressFloatArray(byte[], int, int)"><!-- --></A><H3>
-uncompressFloatArray</H3>
-<PRE>
-public static float[] <B>uncompressFloatArray</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a float array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressIntArray(byte[])"><!-- --></A><H3>
-uncompressIntArray</H3>
-<PRE>
-public static int[] <B>uncompressIntArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input data as an int array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressIntArray(byte[], int, int)"><!-- --></A><H3>
-uncompressIntArray</H3>
-<PRE>
-public static int[] <B>uncompressIntArray</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as an int array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressLongArray(byte[])"><!-- --></A><H3>
-uncompressLongArray</H3>
-<PRE>
-public static long[] <B>uncompressLongArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input data as a long array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressLongArray(byte[], int, int)"><!-- --></A><H3>
-uncompressLongArray</H3>
-<PRE>
-public static long[] <B>uncompressLongArray</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a long array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressShortArray(byte[])"><!-- --></A><H3>
-uncompressShortArray</H3>
-<PRE>
-public static short[] <B>uncompressShortArray</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input as a short array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressShortArray(byte[], int, int)"><!-- --></A><H3>
-uncompressShortArray</H3>
-<PRE>
-public static short[] <B>uncompressShortArray</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a short array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[])"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input as a String
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed dasta
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[], int, int)"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input,
- int offset,
- int length)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a String
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[], int, int, java.lang.String)"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input,
- int offset,
- int length,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a String of the given
- encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[], int, int, java.nio.charset.Charset)"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input,
- int offset,
- int length,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></PRE>
-<DL>
-<DD>Uncompress the input[offset, offset+length) as a String of the given
- encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>offset</CODE> - <DD><CODE>length</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[], java.lang.String)"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></PRE>
-<DL>
-<DD>Uncompress the input as a String of the given encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressString(byte[], java.nio.charset.Charset)"><!-- --></A><H3>
-uncompressString</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>uncompressString</B>(byte[] input,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> encoding)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></PRE>
-<DL>
-<DD>Uncompress the input as a String of the given encoding
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> - <DD><CODE>encoding</CODE> -
-<DT><B>Returns:</B><DD>the uncompressed data
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Snappy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/Snappy.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Snappy.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyBundleActivator.html b/wiki/apidocs/org/xerial/snappy/SnappyBundleActivator.html
deleted file mode 100644
index 82efcde..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyBundleActivator.html
+++ /dev/null
@@ -1,293 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyBundleActivator (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyBundleActivator (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyBundleActivator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyBundleActivator.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyBundleActivator.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyBundleActivator</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyBundleActivator</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD>org.osgi.framework.BundleActivator</DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyBundleActivator</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements org.osgi.framework.BundleActivator</DL>
-</PRE>
-
-<P>
-OSGi bundle entry point
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html#SnappyBundleActivator()">SnappyBundleActivator</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html#start(org.osgi.framework.BundleContext)">start</A></B>(org.osgi.framework.BundleContext context)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html#stop(org.osgi.framework.BundleContext)">stop</A></B>(org.osgi.framework.BundleContext context)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyBundleActivator()"><!-- --></A><H3>
-SnappyBundleActivator</H3>
-<PRE>
-public <B>SnappyBundleActivator</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="start(org.osgi.framework.BundleContext)"><!-- --></A><H3>
-start</H3>
-<PRE>
-public void <B>start</B>(org.osgi.framework.BundleContext context)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>start</CODE> in interface <CODE>org.osgi.framework.BundleActivator</CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="stop(org.osgi.framework.BundleContext)"><!-- --></A><H3>
-stop</H3>
-<PRE>
-public void <B>stop</B>(org.osgi.framework.BundleContext context)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>stop</CODE> in interface <CODE>org.osgi.framework.BundleActivator</CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyBundleActivator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyBundleActivator.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyBundleActivator.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyCodec.html b/wiki/apidocs/org/xerial/snappy/SnappyCodec.html
deleted file mode 100644
index 8eabbc5..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyCodec.html
+++ /dev/null
@@ -1,483 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyCodec (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyCodec (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyCodec.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyCodec.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyCodec.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyCodec</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyCodec</B>
-</PRE>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyCodec</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
-</PRE>
-
-<P>
-Preamble header for <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.
-
- <p>
- The magic header is the following 8 bytes data:
-
- <pre>
- -126, 'S', 'N', 'A', 'P', 'P', 'Y', 0
- </pre>
-
- </p>
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#compatibleVersion">compatibleVersion</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#DEFAULT_VERSION">DEFAULT_VERSION</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#magic">magic</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#MAGIC_HEADER">MAGIC_HEADER</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#MAGIC_LEN">MAGIC_LEN</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#MINIMUM_COMPATIBLE_VERSION">MINIMUM_COMPATIBLE_VERSION</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#version">version</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#currentHeader()">currentHeader</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#headerSize()">headerSize</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#isValidMagicHeader()">isValidMagicHeader</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#readHeader(java.io.InputStream)">readHeader</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> in)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#toString()">toString</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html#writeHeader(java.io.OutputStream)">writeHeader</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="MAGIC_HEADER"><!-- --></A><H3>
-MAGIC_HEADER</H3>
-<PRE>
-public static final byte[] <B>MAGIC_HEADER</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="MAGIC_LEN"><!-- --></A><H3>
-MAGIC_LEN</H3>
-<PRE>
-public static final int <B>MAGIC_LEN</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyCodec.MAGIC_LEN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DEFAULT_VERSION"><!-- --></A><H3>
-DEFAULT_VERSION</H3>
-<PRE>
-public static final int <B>DEFAULT_VERSION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyCodec.DEFAULT_VERSION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="MINIMUM_COMPATIBLE_VERSION"><!-- --></A><H3>
-MINIMUM_COMPATIBLE_VERSION</H3>
-<PRE>
-public static final int <B>MINIMUM_COMPATIBLE_VERSION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyCodec.MINIMUM_COMPATIBLE_VERSION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="magic"><!-- --></A><H3>
-magic</H3>
-<PRE>
-public final byte[] <B>magic</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="version"><!-- --></A><H3>
-version</H3>
-<PRE>
-public final int <B>version</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="compatibleVersion"><!-- --></A><H3>
-compatibleVersion</H3>
-<PRE>
-public final int <B>compatibleVersion</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="headerSize()"><!-- --></A><H3>
-headerSize</H3>
-<PRE>
-public static int <B>headerSize</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="writeHeader(java.io.OutputStream)"><!-- --></A><H3>
-writeHeader</H3>
-<PRE>
-public void <B>writeHeader</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidMagicHeader()"><!-- --></A><H3>
-isValidMagicHeader</H3>
-<PRE>
-public boolean <B>isValidMagicHeader</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="readHeader(java.io.InputStream)"><!-- --></A><H3>
-readHeader</H3>
-<PRE>
-public static <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A> <B>readHeader</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> in)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="currentHeader()"><!-- --></A><H3>
-currentHeader</H3>
-<PRE>
-public static <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A> <B>currentHeader</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyCodec.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyCodec.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyCodec.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyError.html b/wiki/apidocs/org/xerial/snappy/SnappyError.html
deleted file mode 100644
index 363434e..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyError.html
+++ /dev/null
@@ -1,344 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyError (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyError (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyError.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyError.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyError</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">java.lang.Error</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyError</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyError</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A></DL>
-</PRE>
-
-<P>
-Used when serious errors (unchecked exception) are observed.
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.xerial.snappy.SnappyError">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyError.html#errorCode">errorCode</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode)">SnappyError</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.Error)">SnappyError</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A> e)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.String)">SnappyError</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyError.html#getMessage()">getMessage</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="clas [...]
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="errorCode"><!-- --></A><H3>
-errorCode</H3>
-<PRE>
-public final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>errorCode</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyError(org.xerial.snappy.SnappyErrorCode)"><!-- --></A><H3>
-SnappyError</H3>
-<PRE>
-public <B>SnappyError</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.Error)"><!-- --></A><H3>
-SnappyError</H3>
-<PRE>
-public <B>SnappyError</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A> e)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.String)"><!-- --></A><H3>
-SnappyError</H3>
-<PRE>
-public <B>SnappyError</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="getMessage()"><!-- --></A><H3>
-getMessage</H3>
-<PRE>
-public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyError.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyError.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyErrorCode.html b/wiki/apidocs/org/xerial/snappy/SnappyErrorCode.html
deleted file mode 100644
index 7333565..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyErrorCode.html
+++ /dev/null
@@ -1,467 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyErrorCode (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyErrorCode (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyErrorCode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyErrorCode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyErrorCode.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | <A HREF="#field_detail">FIELD</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Enum SnappyErrorCode</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyErrorCode</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public enum <B>SnappyErrorCode</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>></DL>
-</PRE>
-
-<P>
-Error codes of snappy-java
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-<!-- =========== ENUM CONSTANT SUMMARY =========== -->
-
-<A NAME="enum_constant_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Enum Constant Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#FAILED_TO_LOAD_NATIVE_LIBRARY">FAILED_TO_LOAD_NATIVE_LIBRARY</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#FAILED_TO_UNCOMPRESS">FAILED_TO_UNCOMPRESS</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#NOT_A_DIRECT_BUFFER">NOT_A_DIRECT_BUFFER</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#OUT_OF_MEMORY">OUT_OF_MEMORY</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#PARSING_ERROR">PARSING_ERROR</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#UNKNOWN">UNKNOWN</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#id">id</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#getErrorCode(int)">getErrorCode</A></B>(int id)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#getErrorMessage(int)">getErrorMessage</A></B>(int id)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
-
-<BR>
- Returns the enum constant of this type with the specified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html#values()">values</A></B>()</CODE>
-
-<BR>
- Returns an array containing the constants of this enum type, in
-the order they are declared.</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in [...]
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll< [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ ENUM CONSTANT DETAIL =========== -->
-
-<A NAME="enum_constant_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Enum Constant Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="UNKNOWN"><!-- --></A><H3>
-UNKNOWN</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>UNKNOWN</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="FAILED_TO_LOAD_NATIVE_LIBRARY"><!-- --></A><H3>
-FAILED_TO_LOAD_NATIVE_LIBRARY</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>FAILED_TO_LOAD_NATIVE_LIBRARY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="PARSING_ERROR"><!-- --></A><H3>
-PARSING_ERROR</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>PARSING_ERROR</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="NOT_A_DIRECT_BUFFER"><!-- --></A><H3>
-NOT_A_DIRECT_BUFFER</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>NOT_A_DIRECT_BUFFER</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="OUT_OF_MEMORY"><!-- --></A><H3>
-OUT_OF_MEMORY</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>OUT_OF_MEMORY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="FAILED_TO_UNCOMPRESS"><!-- --></A><H3>
-FAILED_TO_UNCOMPRESS</H3>
-<PRE>
-public static final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>FAILED_TO_UNCOMPRESS</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="id"><!-- --></A><H3>
-id</H3>
-<PRE>
-public final int <B>id</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="values()"><!-- --></A><H3>
-values</H3>
-<PRE>
-public static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>[] <B>values</B>()</PRE>
-<DL>
-<DD>Returns an array containing the constants of this enum type, in
-the order they are declared. This method may be used to iterate
-over the constants as follows:
-<pre>
-for (SnappyErrorCode c : SnappyErrorCode.values())
- System.out.println(c);
-</pre>
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
-the order they are declared</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
-valueOf</H3>
-<PRE>
-public static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>valueOf</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE>
-<DL>
-<DD>Returns the enum constant of this type with the specified name.
-The string must match <I>exactly</I> an identifier used to declare an
-enum constant in this type. (Extraneous whitespace characters are
-not permitted.)
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
-<DT><B>Returns:</B><DD>the enum constant with the specified name
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
-with the specified name
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getErrorCode(int)"><!-- --></A><H3>
-getErrorCode</H3>
-<PRE>
-public static <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>getErrorCode</B>(int id)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getErrorMessage(int)"><!-- --></A><H3>
-getErrorMessage</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getErrorMessage</B>(int id)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyErrorCode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyErrorCode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyErrorCode.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | <A HREF="#field_detail">FIELD</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyException.html b/wiki/apidocs/org/xerial/snappy/SnappyException.html
deleted file mode 100644
index c898fe2..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyException.html
+++ /dev/null
@@ -1,402 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyException (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyException (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyException.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyException.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyException</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
-</DL>
-<HR>
-<B>Deprecated.</B> <I>Snappy-java now uses <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A></I>
-<P>
-<DL>
-<DT><PRE><FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
-</FONT>public class <B>SnappyException</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></DL>
-</PRE>
-
-<P>
-Exception in snappy-java
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.xerial.snappy.SnappyException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#errorCode">errorCode</A></B></CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-</TABLE>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#SnappyException(int)">SnappyException</A></B>(int code)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode)">SnappyException</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.Exception)">SnappyException</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> e)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.String)">SnappyException</A></B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#getErrorCode()">getErrorCode</A></B>()</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#getMessage()">getMessage</A></B>()</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyException.html#throwException(int)">throwException</A></B>(int errorCode)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="clas [...]
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="errorCode"><!-- --></A><H3>
-errorCode</H3>
-<PRE>
-public final <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>errorCode</B></PRE>
-<DL>
-<DD><B>Deprecated.</B> <DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyException(int)"><!-- --></A><H3>
-SnappyException</H3>
-<PRE>
-public <B>SnappyException</B>(int code)</PRE>
-<DL>
-<DD><B>Deprecated.</B> </DL>
-<HR>
-
-<A NAME="SnappyException(org.xerial.snappy.SnappyErrorCode)"><!-- --></A><H3>
-SnappyException</H3>
-<PRE>
-public <B>SnappyException</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode)</PRE>
-<DL>
-<DD><B>Deprecated.</B> </DL>
-<HR>
-
-<A NAME="SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.Exception)"><!-- --></A><H3>
-SnappyException</H3>
-<PRE>
-public <B>SnappyException</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> e)</PRE>
-<DL>
-<DD><B>Deprecated.</B> </DL>
-<HR>
-
-<A NAME="SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.String)"><!-- --></A><H3>
-SnappyException</H3>
-<PRE>
-public <B>SnappyException</B>(<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</PRE>
-<DL>
-<DD><B>Deprecated.</B> </DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="getErrorCode()"><!-- --></A><H3>
-getErrorCode</H3>
-<PRE>
-public <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>getErrorCode</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B> <DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="throwException(int)"><!-- --></A><H3>
-throwException</H3>
-<PRE>
-public static void <B>throwException</B>(int errorCode)
- throws <A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A></PRE>
-<DL>
-<DD><B>Deprecated.</B> <DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMessage()"><!-- --></A><H3>
-getMessage</H3>
-<PRE>
-public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B> <DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyException.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyException.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyInputStream.html b/wiki/apidocs/org/xerial/snappy/SnappyInputStream.html
deleted file mode 100644
index e432b47..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyInputStream.html
+++ /dev/null
@@ -1,660 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyInputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyInputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyInputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyInputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyInputStream</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyInputStream</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyInputStream</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></DL>
-</PRE>
-
-<P>
-A stream filter for reading data compressed by <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#SnappyInputStream(java.io.InputStream)">SnappyInputStream</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> input)</CODE>
-
-<BR>
- Create a filter for reading compressed data as a uncompressed stream</TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#close()">close</A></B>()</CODE>
-
-<BR>
- Close the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#rawRead(java.lang.Object, int, int)">rawRead</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> array,
- int byteOffset,
- int byteLength)</CODE>
-
-<BR>
- Read uncompressed data into the specified array</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read()">read</A></B>()</CODE>
-
-<BR>
- Reads the next byte of uncompressed data from the input stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(byte[], int, int)">read</A></B>(byte[] b,
- int off,
- int len)</CODE>
-
-<BR>
- Reads up to len bytes of data from the input stream into an array of
- bytes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(double[])">read</A></B>(double[] d)</CODE>
-
-<BR>
- Read double array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(double[], int, int)">read</A></B>(double[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Read double array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(float[])">read</A></B>(float[] d)</CODE>
-
-<BR>
- Read float array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(float[], int, int)">read</A></B>(float[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Read float array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(int[])">read</A></B>(int[] d)</CODE>
-
-<BR>
- Read int array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(int[], int, int)">read</A></B>(int[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Read int array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(long[])">read</A></B>(long[] d)</CODE>
-
-<BR>
- Read long array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(long[], int, int)">read</A></B>(long[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Read long array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(short[])">read</A></B>(short[] d)</CODE>
-
-<BR>
- Read short array from the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html#read(short[], int, int)">read</A></B>(short[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Read short array from the stream</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#available()" title="class or interface in java.io">available</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#markSupported()" title="class or interface in java.io">ma [...]
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyInputStream(java.io.InputStream)"><!-- --></A><H3>
-SnappyInputStream</H3>
-<PRE>
-public <B>SnappyInputStream</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> input)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Create a filter for reading compressed data as a uncompressed stream
-<P>
-<DL>
-<DT><B>Parameters:</B><DD><CODE>input</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="close()"><!-- --></A><H3>
-close</H3>
-<PRE>
-public void <B>close</B>()
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Close the stream
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-ext [...]
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(byte[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(byte[] b,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Reads up to len bytes of data from the input stream into an array of
- bytes.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#read(byte[], int, int)" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawRead(java.lang.Object, int, int)"><!-- --></A><H3>
-rawRead</H3>
-<PRE>
-public int <B>rawRead</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> array,
- int byteOffset,
- int byteLength)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read uncompressed data into the specified array
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>array</CODE> - <DD><CODE>byteOffset</CODE> - <DD><CODE>byteLength</CODE> -
-<DT><B>Returns:</B><DD>written bytes
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(long[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(long[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read long array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input<DD><CODE>off</CODE> - offset<DD><CODE>len</CODE> - the number of long elements to read
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(long[])"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(long[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read long array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(double[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(double[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read double array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input<DD><CODE>off</CODE> - offset<DD><CODE>len</CODE> - the number of double elements to read
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(double[])"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(double[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read double array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(int[])"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(int[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read int array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(int[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(int[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read int array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input<DD><CODE>off</CODE> - offset<DD><CODE>len</CODE> - the number of int elements to read
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(float[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(float[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read float array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input<DD><CODE>off</CODE> - offset<DD><CODE>len</CODE> - the number of float elements to read
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(float[])"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(float[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read float array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(short[], int, int)"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(short[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read short array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input<DD><CODE>off</CODE> - offset<DD><CODE>len</CODE> - the number of short elements to read
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read(short[])"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>(short[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Read short array from the stream
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Returns:</B><DD>the total number of bytes read into the buffer, or -1 if there is
- no more data because the end of the stream has been reached.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="read()"><!-- --></A><H3>
-read</H3>
-<PRE>
-public int <B>read</B>()
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Reads the next byte of uncompressed data from the input stream. The value
- byte is returned as an int in the range 0 to 255. If no byte is available
- because the end of the stream has been reached, the value -1 is returned.
- This method blocks until input data is available, the end of the stream
- is detected, or an exception is thrown.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#read()" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyInputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyInputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyLoader.html b/wiki/apidocs/org/xerial/snappy/SnappyLoader.html
deleted file mode 100644
index cf4d249..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyLoader.html
+++ /dev/null
@@ -1,444 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyLoader (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyLoader (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyLoader.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyLoader.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyLoader</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyLoader</B>
-</PRE>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyLoader</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
-</PRE>
-
-<P>
-<b>Internal only - Do not use this class.</b> This class loads a native
- library of snappy-java (snappyjava.dll, libsnappy.so, etc.) according to the
- user platform (<i>os.name</i> and <i>os.arch</i>). The natively compiled
- libraries bundled to snappy-java contain the codes of the original snappy and
- JNI programs to access Snappy.
-
- In default, no configuration is required to use snappy-java, but you can load
- your own native library created by 'make native' command.
-
- This SnappyLoader searches for native libraries (snappyjava.dll,
- libsnappy.so, etc.) in the following order:
- <ol>
- <li>If system property <i>org.xerial.snappy.use.systemlib</i> is set to true,
- lookup folders specified by <i>java.lib.path</i> system property (This is the
- default path that JVM searches for native libraries)
- <li>(System property: <i>org.xerial.snappy.lib.path</i>)/(System property:
- <i>org.xerial.lib.name</i>)
- <li>One of the libraries embedded in snappy-java-(version).jar extracted into
- (System property: <i>java.io.tempdir</i>). If
- <i>org.xerial.snappy.tempdir</i> is set, use this folder instead of
- <i>java.io.tempdir</i>.
- </ol>
-
- <p>
- If you do not want to use folder <i>java.io.tempdir</i>, set the System
- property <i>org.xerial.snappy.tempdir</i>. For example, to use
- <i>/tmp/leo</i> as a temporary folder to copy native libraries, use -D option
- of JVM:
-
- <pre>
- <code>
- java -Dorg.xerial.snappy.tempdir="/tmp/leo" ...
- </code>
- </pre>
-
- </p>
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_DISABLE_BUNDLED_LIBS">KEY_SNAPPY_DISABLE_BUNDLED_LIBS</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_NAME">KEY_SNAPPY_LIB_NAME</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_LIB_PATH">KEY_SNAPPY_LIB_PATH</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_TEMPDIR">KEY_SNAPPY_TEMPDIR</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#KEY_SNAPPY_USE_SYSTEMLIB">KEY_SNAPPY_USE_SYSTEMLIB</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#SNAPPY_SYSTEM_PROPERTIES_FILE">SNAPPY_SYSTEM_PROPERTIES_FILE</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#SnappyLoader()">SnappyLoader</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#getVersion()">getVersion</A></B>()</CODE>
-
-<BR>
- Get the snappy-java version by reading pom.properties embedded in jar.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html#isNativeLibraryLoaded()">isNativeLibraryLoaded</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SNAPPY_SYSTEM_PROPERTIES_FILE"><!-- --></A><H3>
-SNAPPY_SYSTEM_PROPERTIES_FILE</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>SNAPPY_SYSTEM_PROPERTIES_FILE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.SNAPPY_SYSTEM_PROPERTIES_FILE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="KEY_SNAPPY_LIB_PATH"><!-- --></A><H3>
-KEY_SNAPPY_LIB_PATH</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>KEY_SNAPPY_LIB_PATH</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.KEY_SNAPPY_LIB_PATH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="KEY_SNAPPY_LIB_NAME"><!-- --></A><H3>
-KEY_SNAPPY_LIB_NAME</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>KEY_SNAPPY_LIB_NAME</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.KEY_SNAPPY_LIB_NAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="KEY_SNAPPY_TEMPDIR"><!-- --></A><H3>
-KEY_SNAPPY_TEMPDIR</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>KEY_SNAPPY_TEMPDIR</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.KEY_SNAPPY_TEMPDIR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="KEY_SNAPPY_USE_SYSTEMLIB"><!-- --></A><H3>
-KEY_SNAPPY_USE_SYSTEMLIB</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>KEY_SNAPPY_USE_SYSTEMLIB</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.KEY_SNAPPY_USE_SYSTEMLIB">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="KEY_SNAPPY_DISABLE_BUNDLED_LIBS"><!-- --></A><H3>
-KEY_SNAPPY_DISABLE_BUNDLED_LIBS</H3>
-<PRE>
-public static final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>KEY_SNAPPY_DISABLE_BUNDLED_LIBS</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.xerial.snappy.SnappyLoader.KEY_SNAPPY_DISABLE_BUNDLED_LIBS">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyLoader()"><!-- --></A><H3>
-SnappyLoader</H3>
-<PRE>
-public <B>SnappyLoader</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="isNativeLibraryLoaded()"><!-- --></A><H3>
-isNativeLibraryLoaded</H3>
-<PRE>
-public static boolean <B>isNativeLibraryLoaded</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getVersion()"><!-- --></A><H3>
-getVersion</H3>
-<PRE>
-public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getVersion</B>()</PRE>
-<DL>
-<DD>Get the snappy-java version by reading pom.properties embedded in jar.
- This version data is used as a suffix of a dll file extracted from the
- jar.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the version string</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyLoader.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyLoader.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyNative.html b/wiki/apidocs/org/xerial/snappy/SnappyNative.html
deleted file mode 100644
index 40a257e..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyNative.html
+++ /dev/null
@@ -1,597 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyNative (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyNative (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyNative.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyNative.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNative.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyNative</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyNative</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyNative</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></DL>
-</PRE>
-
-<P>
-<b>Internal only - Do not use this class.</b> JNI interface of the
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><CODE>SnappyNativeAPI</CODE></A> implementation. The native method in this class is
- defined in SnappyNative.h (genereted by javah) and SnappyNative.cpp
-
- <p>
- <b> DO NOT USE THIS CLASS since the direct use of this class might break the
- native library code loading in <A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><CODE>SnappyLoader</CODE></A>. </b>
- </p>
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#SnappyNative()">SnappyNative</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)">arrayCopy</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#isValidCompressedBuffer(java.nio.ByteBuffer, int, int)">isValidCompressedBuffer</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#isValidCompressedBuffer(java.lang.Object, int, int)">isValidCompressedBuffer</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#maxCompressedLength(int)">maxCompressedLength</A></B>(int source_bytes)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#nativeLibraryVersion()">nativeLibraryVersion</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#rawCompress(java.lang.Object, int, int, java.lang.Object, int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputByteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawUncompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#rawUncompress(java.lang.Object, int, int, java.lang.Object, int)">rawUncompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#throw_error(int)">throw_error</A></B>(int errorCode)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#uncompressedLength(java.nio.ByteBuffer, int, int)">uncompressedLength</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNative.html#uncompressedLength(java.lang.Object, int, int)">uncompressedLength</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyNative()"><!-- --></A><H3>
-SnappyNative</H3>
-<PRE>
-public <B>SnappyNative</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="nativeLibraryVersion()"><!-- --></A><H3>
-nativeLibraryVersion</H3>
-<PRE>
-public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>nativeLibraryVersion</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#nativeLibraryVersion()">nativeLibraryVersion</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-public int <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawCompress</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-public int <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputByteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.lang.Object, int, int, java.lang.Object, int)">rawCompress</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><!-- --></A><H3>
-rawUncompress</H3>
-<PRE>
-public int <B>rawUncompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawUncompress</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawUncompress(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-rawUncompress</H3>
-<PRE>
-public int <B>rawUncompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.lang.Object, int, int, java.lang.Object, int)">rawUncompress</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="maxCompressedLength(int)"><!-- --></A><H3>
-maxCompressedLength</H3>
-<PRE>
-public int <B>maxCompressedLength</B>(int source_bytes)</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#maxCompressedLength(int)">maxCompressedLength</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(java.nio.ByteBuffer, int, int)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-public int <B>uncompressedLength</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.nio.ByteBuffer, int, int)">uncompressedLength</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(java.lang.Object, int, int)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-public int <B>uncompressedLength</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.lang.Object, int, int)">uncompressedLength</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(java.nio.ByteBuffer, int, int)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-public boolean <B>isValidCompressedBuffer</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.nio.ByteBuffer, int, int)">isValidCompressedBuffer</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(java.lang.Object, int, int)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-public boolean <B>isValidCompressedBuffer</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.lang.Object, int, int)">isValidCompressedBuffer</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-arrayCopy</H3>
-<PRE>
-public void <B>arrayCopy</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)">arrayCopy</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="throw_error(int)"><!-- --></A><H3>
-throw_error</H3>
-<PRE>
-public void <B>throw_error</B>(int errorCode)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#throw_error(int)">throw_error</A></CODE> in interface <CODE><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyNative.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyNative.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNative.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyNativeAPI.html b/wiki/apidocs/org/xerial/snappy/SnappyNativeAPI.html
deleted file mode 100644
index f21dd1f..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyNativeAPI.html
+++ /dev/null
@@ -1,511 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyNativeAPI (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyNativeAPI (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyNativeAPI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyNativeAPI.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNativeAPI.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Interface SnappyNativeAPI</H2>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public interface <B>SnappyNativeAPI</B></DL>
-</PRE>
-
-<P>
-<b>Internal only - Do not use this class.</b>
-
- Interface to access the native code of Snappy. Although this class members
- are public, do not use them directly. Use <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><CODE>Snappy</CODE></A> API instead.
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#arrayCopy(java.lang.Object, int, int, java.lang.Object, int)">arrayCopy</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.nio.ByteBuffer, int, int)">isValidCompressedBuffer</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#isValidCompressedBuffer(java.lang.Object, int, int)">isValidCompressedBuffer</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#maxCompressedLength(int)">maxCompressedLength</A></B>(int source_bytes)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#nativeLibraryVersion()">nativeLibraryVersion</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawCompress(java.lang.Object, int, int, java.lang.Object, int)">rawCompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputByteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)">rawUncompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#rawUncompress(java.lang.Object, int, int, java.lang.Object, int)">rawUncompress</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#throw_error(int)">throw_error</A></B>(int errorCode)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.nio.ByteBuffer, int, int)">uncompressedLength</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html#uncompressedLength(java.lang.Object, int, int)">uncompressedLength</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="nativeLibraryVersion()"><!-- --></A><H3>
-nativeLibraryVersion</H3>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>nativeLibraryVersion</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-int <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawCompress(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-rawCompress</H3>
-<PRE>
-int <B>rawCompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputByteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawUncompress(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer, int)"><!-- --></A><H3>
-rawUncompress</H3>
-<PRE>
-int <B>rawUncompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> uncompressed,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawUncompress(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-rawUncompress</H3>
-<PRE>
-int <B>rawUncompress</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int inputOffset,
- int inputLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> output,
- int outputOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="maxCompressedLength(int)"><!-- --></A><H3>
-maxCompressedLength</H3>
-<PRE>
-int <B>maxCompressedLength</B>(int source_bytes)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(java.nio.ByteBuffer, int, int)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-int <B>uncompressedLength</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="uncompressedLength(java.lang.Object, int, int)"><!-- --></A><H3>
-uncompressedLength</H3>
-<PRE>
-int <B>uncompressedLength</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(java.nio.ByteBuffer, int, int)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-boolean <B>isValidCompressedBuffer</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</A> compressed,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidCompressedBuffer(java.lang.Object, int, int)"><!-- --></A><H3>
-isValidCompressedBuffer</H3>
-<PRE>
-boolean <B>isValidCompressedBuffer</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> input,
- int offset,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="arrayCopy(java.lang.Object, int, int, java.lang.Object, int)"><!-- --></A><H3>
-arrayCopy</H3>
-<PRE>
-void <B>arrayCopy</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
- int offset,
- int byteLength,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> dest,
- int dOffset)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="throw_error(int)"><!-- --></A><H3>
-throw_error</H3>
-<PRE>
-void <B>throw_error</B>(int errorCode)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyNativeAPI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>PREV CLASS</B></A>
- <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyNativeAPI.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNativeAPI.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/SnappyOutputStream.html b/wiki/apidocs/org/xerial/snappy/SnappyOutputStream.html
deleted file mode 100644
index 8b3f411..0000000
--- a/wiki/apidocs/org/xerial/snappy/SnappyOutputStream.html
+++ /dev/null
@@ -1,704 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-SnappyOutputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="SnappyOutputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyOutputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>PREV CLASS</B></A>
- NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyOutputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyOutputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.xerial.snappy</FONT>
-<BR>
-Class SnappyOutputStream</H2>
-<PRE>
-<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">java.io.OutputStream</A>
- <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xerial.snappy.SnappyOutputStream</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>SnappyOutputStream</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></DL>
-</PRE>
-
-<P>
-This class implements a stream filter for writing compressed data using
- Snappy.
-
- The input data is blocked into 32kb size (in default), and each block is
- compressed and then passed to the given <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><CODE>OutputStream</CODE></A>.
-
- The output data format is:
- <ol>
- <li>snappy codec header defined in <A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><CODE>SnappyCodec</CODE></A> (8 bytes)
- <li>compressed block 1 : a pair of (compressed data size [4 byte integer.
- Big-endian], compressed data...)
- <li>compressed block 2
- <li>...
- </ol>
-
- Note that the compressed data created by <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A> cannot be
- uncompressed by <A HREF="../../../org/xerial/snappy/Snappy.html#uncompress(byte[])"><CODE>Snappy.uncompress(byte[])</CODE></A> since the output formats of
- <A HREF="../../../org/xerial/snappy/Snappy.html#compress(byte[])"><CODE>Snappy.compress(byte[])</CODE></A> and <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A> are different.
- Use <A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><CODE>SnappyInputStream</CODE></A> for uncompress the data generated by
- <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>Author:</B></DT>
- <DD>leo</DD>
-</DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#SnappyOutputStream(java.io.OutputStream)">SnappyOutputStream</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#SnappyOutputStream(java.io.OutputStream, int)">SnappyOutputStream</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out,
- int blockSize)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#close()">close</A></B>()</CODE>
-
-<BR>
- close the stream</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#flush()">flush</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#rawWrite(java.lang.Object, int, int)">rawWrite</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> array,
- int byteOffset,
- int byteLength)</CODE>
-
-<BR>
- Compress the raw byte array data.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(byte[], int, int)">write</A></B>(byte[] b,
- int off,
- int len)</CODE>
-
-<BR>
- Writes len bytes from the specified byte array starting at offset off to
- this output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(double[])">write</A></B>(double[] f)</CODE>
-
-<BR>
- Compress the input array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(double[], int, int)">write</A></B>(double[] f,
- int off,
- int len)</CODE>
-
-<BR>
- Compress the input double array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(float[])">write</A></B>(float[] f)</CODE>
-
-<BR>
- Compress the input array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(float[], int, int)">write</A></B>(float[] f,
- int off,
- int len)</CODE>
-
-<BR>
- Compress the input float array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(int)">write</A></B>(int b)</CODE>
-
-<BR>
- Writes the specified byte to this output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(int[])">write</A></B>(int[] f)</CODE>
-
-<BR>
- Compress the input array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(int[], int, int)">write</A></B>(int[] f,
- int off,
- int len)</CODE>
-
-<BR>
- Compress the input int array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(long[])">write</A></B>(long[] d)</CODE>
-
-<BR>
- Compress the input array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(long[], int, int)">write</A></B>(long[] d,
- int off,
- int len)</CODE>
-
-<BR>
- Compress the input long array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(short[])">write</A></B>(short[] f)</CODE>
-
-<BR>
- Compress the input array data</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html#write(short[], int, int)">write</A></B>(short[] f,
- int off,
- int len)</CODE>
-
-<BR>
- Compress the input short array data</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.io.OutputStream"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#write(byte[])" title="class or interface in java.io">write</A></CODE></TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.l [...]
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="SnappyOutputStream(java.io.OutputStream)"><!-- --></A><H3>
-SnappyOutputStream</H3>
-<PRE>
-public <B>SnappyOutputStream</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DL>
-<HR>
-
-<A NAME="SnappyOutputStream(java.io.OutputStream, int)"><!-- --></A><H3>
-SnappyOutputStream</H3>
-<PRE>
-public <B>SnappyOutputStream</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out,
- int blockSize)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DL>
-<DT><B>Parameters:</B><DD><CODE>out</CODE> - <DD><CODE>blockSize</CODE> - byte size of the internal buffer size
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="write(byte[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(byte[] b,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Writes len bytes from the specified byte array starting at offset off to
- this output stream. The general contract for write(b, off, len) is that
- some of the bytes in the array b are written to the output stream in
- order; element b[off] is the first byte written and b[off+len-1] is the
- last byte written by this operation.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#write(byte[], int, int)" title="class or interface in java.io">write</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(long[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(long[] d,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input long array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> - input array<DD><CODE>off</CODE> - offset in the array<DD><CODE>len</CODE> - the number of elements in the array to copy
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(double[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(double[] f,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input double array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> - input array<DD><CODE>off</CODE> - offset in the array<DD><CODE>len</CODE> - the number of elements in the array to copy
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(float[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(float[] f,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input float array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> - input array<DD><CODE>off</CODE> - offset in the array<DD><CODE>len</CODE> - the number of elements in the array to copy
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(int[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(int[] f,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input int array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> - input array<DD><CODE>off</CODE> - offset in the array<DD><CODE>len</CODE> - the number of elements in the array to copy
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(short[], int, int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(short[] f,
- int off,
- int len)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input short array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> - input array<DD><CODE>off</CODE> - offset in the array<DD><CODE>len</CODE> - the number of elements in the array to copy
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(long[])"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(long[] d)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>d</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(double[])"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(double[] f)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(float[])"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(float[] f)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(int[])"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(int[] f)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(short[])"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(short[] f)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the input array data
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>f</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="rawWrite(java.lang.Object, int, int)"><!-- --></A><H3>
-rawWrite</H3>
-<PRE>
-public void <B>rawWrite</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> array,
- int byteOffset,
- int byteLength)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Compress the raw byte array data.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>array</CODE> - array data of any type (e.g., byte[], float[], long[], ...)<DD><CODE>byteOffset</CODE> - <DD><CODE>byteLength</CODE> -
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="write(int)"><!-- --></A><H3>
-write</H3>
-<PRE>
-public void <B>write</B>(int b)
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>Writes the specified byte to this output stream. The general contract for
- write is that one byte is written to the output stream. The byte to be
- written is the eight low-order bits of the argument b. The 24 high-order
- bits of b are ignored.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#write(int)" title="class or interface in java.io">write</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="flush()"><!-- --></A><H3>
-flush</H3>
-<PRE>
-public void <B>flush</B>()
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Flushable.html?is-external=true#flush()" title="class or interface in java.io">flush</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-ex [...]
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="close()"><!-- --></A><H3>
-close</H3>
-<PRE>
-public void <B>close</B>()
- throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
-<DL>
-<DD>close the stream
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-ex [...]
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SnappyOutputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>PREV CLASS</B></A>
- NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/SnappyOutputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyOutputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/OSInfo.html b/wiki/apidocs/org/xerial/snappy/class-use/OSInfo.html
deleted file mode 100644
index 91f7b51..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/OSInfo.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.OSInfo (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.OSInfo (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useOSInfo.html" target="_top"><B>FRAMES</B></A>
- <A HREF="OSInfo.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.OSInfo</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.OSInfo
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useOSInfo.html" target="_top"><B>FRAMES</B></A>
- <A HREF="OSInfo.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/Snappy.html b/wiki/apidocs/org/xerial/snappy/class-use/Snappy.html
deleted file mode 100644
index 02be3a8..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/Snappy.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.Snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.Snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappy.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Snappy.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.Snappy</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.Snappy
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappy.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Snappy.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyBundleActivator.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyBundleActivator.html
deleted file mode 100644
index 5ff5808..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyBundleActivator.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyBundleActivator (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyBundleActivator (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyBundleActivator.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyBundleActivator.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyBundleActivator</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyBundleActivator
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyBundleActivator.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyBundleActivator.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyCodec.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyCodec.html
deleted file mode 100644
index bb4f9b2..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyCodec.html
+++ /dev/null
@@ -1,174 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyCodec (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyCodec (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyCodec.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyCodec.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyCodec</B></H2>
-</CENTER>
-<A NAME="org.xerial.snappy"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-Uses of <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A> in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> that return <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyCodec.</B><B><A HREF="../../../../org/xerial/snappy/SnappyCodec.html#currentHeader()">currentHeader</A></B>()</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyCodec.</B><B><A HREF="../../../../org/xerial/snappy/SnappyCodec.html#readHeader(java.io.InputStream)">readHeader</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> in)</CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyCodec.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyCodec.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyError.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyError.html
deleted file mode 100644
index 0aa8e36..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyError.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyError (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyError (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyError.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyError.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyError</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyError
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyError.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyError.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyErrorCode.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyErrorCode.html
deleted file mode 100644
index 6ed3fcc..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyErrorCode.html
+++ /dev/null
@@ -1,263 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyErrorCode (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyErrorCode (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyErrorCode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyErrorCode.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyErrorCode</B></H2>
-</CENTER>
-<A NAME="org.xerial.snappy"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-Uses of <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> declared as <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyException.</B><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#errorCode">errorCode</A></B></CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyError.</B><B><A HREF="../../../../org/xerial/snappy/SnappyError.html#errorCode">errorCode</A></B></CODE>
-
-<BR>
- </TD>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> that return <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyException.</B><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#getErrorCode()">getErrorCode</A></B>()</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyErrorCode.</B><B><A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html#getErrorCode(int)">getErrorCode</A></B>(int id)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></CODE></FONT></TD>
-<TD><CODE><B>SnappyErrorCode.</B><B><A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
-
-<BR>
- Returns the enum constant of this type with the specified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A>[]</CODE></FONT></TD>
-<TD><CODE><B>SnappyErrorCode.</B><B><A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html#values()">values</A></B>()</CODE>
-
-<BR>
- Returns an array containing the constants of this enum type, in
-the order they are declared.</TD>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> with parameters of type <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode)">SnappyError</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.Error)">SnappyError</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A> e)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyError.html#SnappyError(org.xerial.snappy.SnappyErrorCode, java.lang.String)">SnappyError</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> code,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE>
-
-<BR>
- </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode)">SnappyException</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.Exception)">SnappyException</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> e)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#SnappyException(org.xerial.snappy.SnappyErrorCode, java.lang.String)">SnappyException</A></B>(<A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> errorCode,
- <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyErrorCode.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyErrorCode.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyException.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyException.html
deleted file mode 100644
index 3c3100d..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyException.html
+++ /dev/null
@@ -1,166 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyException (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyException (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyException.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyException.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyException</B></H2>
-</CENTER>
-<A NAME="org.xerial.snappy"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-Uses of <A HREF="../../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A> in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> that throw <A HREF="../../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static void</CODE></FONT></TD>
-<TD><CODE><B>SnappyException.</B><B><A HREF="../../../../org/xerial/snappy/SnappyException.html#throwException(int)">throwException</A></B>(int errorCode)</CODE>
-
-<BR>
- <B>Deprecated.</B> </TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyException.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyException.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyInputStream.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyInputStream.html
deleted file mode 100644
index a5288e0..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyInputStream.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyInputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyInputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyInputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyInputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyInputStream</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyInputStream
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyInputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyInputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyLoader.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyLoader.html
deleted file mode 100644
index b5dc10f..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyLoader.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyLoader (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyLoader (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyLoader.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyLoader.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyLoader</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyLoader
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyLoader.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyLoader.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyNative.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyNative.html
deleted file mode 100644
index ec2b7cc..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyNative.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyNative (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyNative (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyNative.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNative.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyNative</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyNative
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyNative.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNative.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyNativeAPI.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyNativeAPI.html
deleted file mode 100644
index 8facf87..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyNativeAPI.html
+++ /dev/null
@@ -1,167 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Interface org.xerial.snappy.SnappyNativeAPI (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Interface org.xerial.snappy.SnappyNativeAPI (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyNativeAPI.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNativeAPI.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Interface<br>org.xerial.snappy.SnappyNativeAPI</B></H2>
-</CENTER>
-<A NAME="org.xerial.snappy"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-Uses of <A HREF="../../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A> in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> that implement <A HREF="../../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A></B></CODE>
-
-<BR>
- <b>Internal only - Do not use this class.</b> JNI interface of the
- <A HREF="../../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><CODE>SnappyNativeAPI</CODE></A> implementation.</TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyNativeAPI.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyNativeAPI.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/class-use/SnappyOutputStream.html b/wiki/apidocs/org/xerial/snappy/class-use/SnappyOutputStream.html
deleted file mode 100644
index 82f894b..0000000
--- a/wiki/apidocs/org/xerial/snappy/class-use/SnappyOutputStream.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Class org.xerial.snappy.SnappyOutputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.xerial.snappy.SnappyOutputStream (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyOutputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyOutputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Class<br>org.xerial.snappy.SnappyOutputStream</B></H2>
-</CENTER>
-No usage of org.xerial.snappy.SnappyOutputStream
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/xerial/snappy/\class-useSnappyOutputStream.html" target="_top"><B>FRAMES</B></A>
- <A HREF="SnappyOutputStream.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/package-frame.html b/wiki/apidocs/org/xerial/snappy/package-frame.html
deleted file mode 100644
index 3dd465a..0000000
--- a/wiki/apidocs/org/xerial/snappy/package-frame.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-org.xerial.snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameTitleFont">
-<A HREF="../../../org/xerial/snappy/package-summary.html" target="classFrame">org.xerial.snappy</A></FONT>
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Interfaces</FONT>
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="SnappyNativeAPI.html" title="interface in org.xerial.snappy" target="classFrame"><I>SnappyNativeAPI</I></A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Classes</FONT>
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="OSInfo.html" title="class in org.xerial.snappy" target="classFrame">OSInfo</A>
-<BR>
-<A HREF="Snappy.html" title="class in org.xerial.snappy" target="classFrame">Snappy</A>
-<BR>
-<A HREF="SnappyBundleActivator.html" title="class in org.xerial.snappy" target="classFrame">SnappyBundleActivator</A>
-<BR>
-<A HREF="SnappyCodec.html" title="class in org.xerial.snappy" target="classFrame">SnappyCodec</A>
-<BR>
-<A HREF="SnappyInputStream.html" title="class in org.xerial.snappy" target="classFrame">SnappyInputStream</A>
-<BR>
-<A HREF="SnappyLoader.html" title="class in org.xerial.snappy" target="classFrame">SnappyLoader</A>
-<BR>
-<A HREF="SnappyNative.html" title="class in org.xerial.snappy" target="classFrame">SnappyNative</A>
-<BR>
-<A HREF="SnappyOutputStream.html" title="class in org.xerial.snappy" target="classFrame">SnappyOutputStream</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Enums</FONT>
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="SnappyErrorCode.html" title="enum in org.xerial.snappy" target="classFrame">SnappyErrorCode</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Exceptions</FONT>
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="SnappyException.html" title="class in org.xerial.snappy" target="classFrame">SnappyException</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Errors</FONT>
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="SnappyError.html" title="class in org.xerial.snappy" target="classFrame">SnappyError</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/package-summary.html b/wiki/apidocs/org/xerial/snappy/package-summary.html
deleted file mode 100644
index d225e52..0000000
--- a/wiki/apidocs/org/xerial/snappy/package-summary.html
+++ /dev/null
@@ -1,284 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-org.xerial.snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.xerial.snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV PACKAGE
- NEXT PACKAGE</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-summary.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<H2>
-Package org.xerial.snappy
-</H2>
-Snappy API for compressing/decompressing data.
-<P>
-<B>See:</B>
-<BR>
- <A HREF="#package_description"><B>Description</B></A>
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Interface Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy">SnappyNativeAPI</A></B></TD>
-<TD><b>Internal only - Do not use this class.</b>
-
- Interface to access the native code of Snappy.</TD>
-</TR>
-</TABLE>
-
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Class Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy">OSInfo</A></B></TD>
-<TD>Provides OS name and architecture name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy">Snappy</A></B></TD>
-<TD>Snappy API for data compression/decompression</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy">SnappyBundleActivator</A></B></TD>
-<TD>OSGi bundle entry point</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy">SnappyCodec</A></B></TD>
-<TD>Preamble header for <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy">SnappyInputStream</A></B></TD>
-<TD>A stream filter for reading data compressed by <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy">SnappyLoader</A></B></TD>
-<TD><b>Internal only - Do not use this class.</b> This class loads a native
- library of snappy-java (snappyjava.dll, libsnappy.so, etc.) according to the
- user platform (<i>os.name</i> and <i>os.arch</i>).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy">SnappyNative</A></B></TD>
-<TD><b>Internal only - Do not use this class.</b> JNI interface of the
- <A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><CODE>SnappyNativeAPI</CODE></A> implementation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy">SnappyOutputStream</A></B></TD>
-<TD>This class implements a stream filter for writing compressed data using
- Snappy.</TD>
-</TR>
-</TABLE>
-
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Enum Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A></B></TD>
-<TD>Error codes of snappy-java</TD>
-</TR>
-</TABLE>
-
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Exception Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">SnappyException</A></B></TD>
-<TD><B>Deprecated.</B> <I>Snappy-java now uses <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A></I></TD>
-</TR>
-</TABLE>
-
-
-<P>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Error Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">SnappyError</A></B></TD>
-<TD>Used when serious errors (unchecked exception) are observed.</TD>
-</TR>
-</TABLE>
-
-
-<P>
-<A NAME="package_description"><!-- --></A><H2>
-Package org.xerial.snappy Description
-</H2>
-
-<P>
-Snappy API for compressing/decompressing data.
-
- Usage
- First, import <A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><CODE>Snappy</CODE></A> in your Java code:
- <code>
- <pre>
- import org.xerial.snappy.Snappy;
- </pre>
- </code>
- Then use <A HREF="../../../org/xerial/snappy/Snappy.html#compress(byte[])"><CODE>Snappy.compress(byte[])</CODE></A> and <A HREF="../../../org/xerial/snappy/Snappy.html#uncompress(byte[])"><CODE>Snappy.uncompress(byte[])</CODE></A>:
- <code>
- <pre>
- String input = "Hello snappy-java! Snappy-java is a JNI-based wrapper of Snappy, a fast compresser/decompresser.";
- byte[] compressed = Snappy.compress(input.getBytes("UTF-8"));
- byte[] uncompressed = Snappy.uncompress(compressed);
- String result = new String(uncompressed, "UTF-8");
- System.out.println(result);
- </pre>
- </code>
-
- <p>In addition, high-level methods (Snappy.compress(String), Snappy.compress(float[] ..) etc. ) and low-level ones (e.g. Snappy.rawCompress(.. ), Snappy.rawUncompress(..), etc.), which minimize memory copies, can be used. </p>
-
- <h3>Stream-based API</h3>
- Stream-based compressor/decompressor SnappyOutputStream, SnappyInputStream are also available for reading/writing large data sets.
-<P>
-
-<P>
-<DL>
-</DL>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV PACKAGE
- NEXT PACKAGE</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-summary.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/package-tree.html b/wiki/apidocs/org/xerial/snappy/package-tree.html
deleted file mode 100644
index 6fd1716..0000000
--- a/wiki/apidocs/org/xerial/snappy/package-tree.html
+++ /dev/null
@@ -1,179 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-org.xerial.snappy Class Hierarchy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.xerial.snappy Class Hierarchy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-tree.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-Hierarchy For Package org.xerial.snappy
-</H2>
-</CENTER>
-<H2>
-Class Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><B>InputStream</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>)
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>SnappyInputStream</B></A></UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><B>OSInfo</B></A><LI TYPE="circle">java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><B>OutputStream</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeabl [...]
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><B>SnappyOutputStream</B></A></UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>Snappy</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>SnappyBundleActivator</B></A> (implements org.osgi.framework.BundleActivator)
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>SnappyCodec</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>SnappyLoader</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>SnappyNative</B></A> (implements org.xerial.snappy.<A HREF="../../. [...]
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><B>Error</B></A><UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>SnappyError</B></A></UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><B>Exception</B></A><UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>SnappyException</B></A></UL>
-</UL>
-</UL>
-</UL>
-<H2>
-Interface Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>SnappyNativeAPI</B></A></UL>
-<H2>
-Enum Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" titl [...]
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="../../../org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>SnappyErrorCode</B></A></UL>
-</UL>
-</UL>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-tree.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/org/xerial/snappy/package-use.html b/wiki/apidocs/org/xerial/snappy/package-use.html
deleted file mode 100644
index e7f2c76..0000000
--- a/wiki/apidocs/org/xerial/snappy/package-use.html
+++ /dev/null
@@ -1,176 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Uses of Package org.xerial.snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Package org.xerial.snappy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-use.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Uses of Package<br>org.xerial.snappy</B></H2>
-</CENTER>
-<A NAME="org.xerial.snappy"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-Classes in <A HREF="../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A> used by <A HREF="../../../org/xerial/snappy/package-summary.html">org.xerial.snappy</A></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><B><A HREF="../../../org/xerial/snappy/class-use/SnappyCodec.html#org.xerial.snappy"><B>SnappyCodec</B></A></B>
-
-<BR>
- Preamble header for <A HREF="../../../org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><CODE>SnappyOutputStream</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><B><A HREF="../../../org/xerial/snappy/class-use/SnappyErrorCode.html#org.xerial.snappy"><B>SnappyErrorCode</B></A></B>
-
-<BR>
- Error codes of snappy-java</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><B><A HREF="../../../org/xerial/snappy/class-use/SnappyException.html#org.xerial.snappy"><B>SnappyException</B></A></B>
-
-<BR>
- <B>Deprecated.</B> <I>Snappy-java now uses <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><B><A HREF="../../../org/xerial/snappy/class-use/SnappyNativeAPI.html#org.xerial.snappy"><B>SnappyNativeAPI</B></A></B>
-
-<BR>
- <b>Internal only - Do not use this class.</b>
-
- Interface to access the native code of Snappy.</TD>
-</TR>
-</TABLE>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../index.html?org/xerial/snappy/package-use.html" target="_top"><B>FRAMES</B></A>
- <A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/overview-tree.html b/wiki/apidocs/overview-tree.html
deleted file mode 100644
index 0fe4f1d..0000000
--- a/wiki/apidocs/overview-tree.html
+++ /dev/null
@@ -1,181 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Class Hierarchy (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Class Hierarchy (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
- <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H2>
-Hierarchy For All Packages</H2>
-</CENTER>
-<DL>
-<DT><B>Package Hierarchies:</B><DD><A HREF="org/xerial/snappy/package-tree.html">org.xerial.snappy</A></DL>
-<HR>
-<H2>
-Class Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><B>InputStream</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>)
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyInputStream.html" title="class in org.xerial.snappy"><B>SnappyInputStream</B></A></UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/OSInfo.html" title="class in org.xerial.snappy"><B>OSInfo</B></A><LI TYPE="circle">java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><B>OutputStream</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, ja [...]
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyOutputStream.html" title="class in org.xerial.snappy"><B>SnappyOutputStream</B></A></UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/Snappy.html" title="class in org.xerial.snappy"><B>Snappy</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyBundleActivator.html" title="class in org.xerial.snappy"><B>SnappyBundleActivator</B></A> (implements org.osgi.framework.BundleActivator)
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyCodec.html" title="class in org.xerial.snappy"><B>SnappyCodec</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyLoader.html" title="class in org.xerial.snappy"><B>SnappyLoader</B></A><LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyNative.html" title="class in org.xerial.snappy"><B>SnappyNative</B></A> (implements org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyNativeAPI. [...]
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><B>Error</B></A><UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy"><B>SnappyError</B></A></UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><B>Exception</B></A><UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy"><B>SnappyException</B></A></UL>
-</UL>
-</UL>
-</UL>
-<H2>
-Interface Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyNativeAPI.html" title="interface in org.xerial.snappy"><B>SnappyNativeAPI</B></A></UL>
-<H2>
-Enum Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
-<LI TYPE="circle">java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" titl [...]
-<UL>
-<LI TYPE="circle">org.xerial.snappy.<A HREF="org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy"><B>SnappyErrorCode</B></A></UL>
-</UL>
-</UL>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
- <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/package-list b/wiki/apidocs/package-list
deleted file mode 100644
index f511398..0000000
--- a/wiki/apidocs/package-list
+++ /dev/null
@@ -1 +0,0 @@
-org.xerial.snappy
diff --git a/wiki/apidocs/resources/inherit.gif b/wiki/apidocs/resources/inherit.gif
deleted file mode 100644
index c814867..0000000
Binary files a/wiki/apidocs/resources/inherit.gif and /dev/null differ
diff --git a/wiki/apidocs/serialized-form.html b/wiki/apidocs/serialized-form.html
deleted file mode 100644
index 3f6319f..0000000
--- a/wiki/apidocs/serialized-form.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_21) on Mon Sep 26 23:28:31 JST 2011 -->
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<TITLE>
-Serialized Form (Snappy for Java 1.0.4.1-SNAPSHOT API)
-</TITLE>
-
-<META NAME="date" CONTENT="2011-09-26">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Serialized Form (Snappy for Java 1.0.4.1-SNAPSHOT API)";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
- <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<CENTER>
-<H1>
-Serialized Form</H1>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="center"><FONT SIZE="+2">
-<B>Package</B> <B>org.xerial.snappy</B></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="org.xerial.snappy.SnappyError"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Class <A HREF="org/xerial/snappy/SnappyError.html" title="class in org.xerial.snappy">org.xerial.snappy.SnappyError</A> extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A> implements Serializable</B></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-<B>serialVersionUID: </B>1L
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TH>
-</TR>
-</TABLE>
-
-<H3>
-errorCode</H3>
-<PRE>
-<A HREF="org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>errorCode</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.xerial.snappy.SnappyException"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Class <A HREF="org/xerial/snappy/SnappyException.html" title="class in org.xerial.snappy">org.xerial.snappy.SnappyException</A> extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TH>
-</TR>
-</TABLE>
-
-<P>
-<B>serialVersionUID: </B>1L
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TH>
-</TR>
-</TABLE>
-
-<H3>
-errorCode</H3>
-<PRE>
-<A HREF="org/xerial/snappy/SnappyErrorCode.html" title="enum in org.xerial.snappy">SnappyErrorCode</A> <B>errorCode</B></PRE>
-<DL>
-<DD><B>Deprecated.</B> <DL>
-</DL>
-</DL>
-
-<P>
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/xerial/snappy/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV
- NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
- <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-Copyright © 2011 <a href="http://www.xerial.org/">xerial.org</a>. All Rights Reserved.
-</BODY>
-</HTML>
diff --git a/wiki/apidocs/stylesheet.css b/wiki/apidocs/stylesheet.css
deleted file mode 100644
index 2683c03..0000000
--- a/wiki/apidocs/stylesheet.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Javadoc style sheet */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { background-color: #FFFFFF; color:#000000; font-family: Arial, sans-serif; }
-
-code { font-family: mono-space, Arial, sans-serif; }
-
-/* Headings */
-h1 { font-size: 145% }
-
-a:link { color: #006699; }
-a:hover { color: #6699CC; }
-a:active { color: #6699CC; }
-a:visited { color: #333366; }
-
-/* Table colors */
-.TableHeadingColor { background: #3399CC; color:#FFFFFF } /* Dark mauve */
-.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */
-.TableRowColor { background: #FFFFFF; color:#000000 } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont { font-size: 100%; font-family: Arial, sans-serif; color:#000000 }
-.FrameHeadingFont { font-size: 90%; font-family: Arial, sans-serif; color:#000000 }
-.FrameItemFont { font-size: 90%; font-family: Arial, sans-serif; color:#000000 }
-
-/* Navigation bar fonts and colors */
-.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */
-.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
-.NavBarFont1 { font-family: Arial, sans-serif; color:#000000;color:#000000;}
-.NavBarFont1Rev { font-family: Arial, sans-serif; color:#FFFFFF;color:#FFFFFF;}
-
-.NavBarCell2 { font-family: Arial, sans-serif; background-color:#FFFFFF; color:#000000}
-.NavBarCell3 { font-family: Arial, sans-serif; background-color:#FFFFFF; color:#000000}
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/snappy-java.git
More information about the pkg-java-commits
mailing list