Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for GZIPOutputStream (0.08 seconds)

  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));
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (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);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        /**
         * Helper to GZIP-compress a string.
         */
        private byte[] gzipCompress(String text) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                gos.write(text.getBytes(StandardCharsets.UTF_8));
            }
            return baos.toByteArray();
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
Back to Top