Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GZIPOutputStream (0.5 sec)

  1. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (hash != null && !hash.startsWith(SIMILAR_DOC_HASH_PREFIX)) {
                try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                    try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                        gos.write(hash.getBytes(Constants.UTF_8));
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         */
        protected byte[] gzipCompress(final byte[] data) {
            try (final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
                try (final GZIPOutputStream gzipOut = new GZIPOutputStream(bos)) {
                    gzipOut.write(data);
                }
                return bos.toByteArray();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top