org.n52.wps.unicore.utilities
Class Compression

java.lang.Object
  extended by org.n52.wps.unicore.utilities.Compression

public class Compression
extends java.lang.Object


Constructor Summary
Compression()
           
 
Method Summary
static byte[] createCompressedData(byte[] data, boolean compressionEnabled)
           
static byte[] createUncompressedData(java.io.InputStream is, boolean compressionEnabled)
           
static byte[] toByteArray(java.lang.Object pData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compression

public Compression()
Method Detail

toByteArray

public static byte[] toByteArray(java.lang.Object pData)
                          throws java.io.IOException
Throws:
java.io.IOException

createCompressedData

public static byte[] createCompressedData(byte[] data,
                                          boolean compressionEnabled)
                                   throws java.io.IOException
Throws:
java.io.IOException

createUncompressedData

public static byte[] createUncompressedData(java.io.InputStream is,
                                            boolean compressionEnabled)
                                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2011 52north.org. All Rights Reserved.