List of usage examples for org.apache.poi.hmef CompressedRTF getDeCompressedSize
public int getDeCompressedSize()
From source file:com.auxilii.msgparser.Message.java
License:Open Source License
private static String decompressRTF(byte[] compressedRTF) throws IOException { CompressedRTF decompressor = new CompressedRTF(); byte[] decompressedRTF = decompressor.decompress(new ByteArrayInputStream(compressedRTF)); return new String(decompressedRTF, 0, decompressor.getDeCompressedSize()); }