Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getXContentOutputStream (0.27 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
                return ((ByteArrayOutputStream) out1).toString(CoreLibConstants.UTF_8) + '\n'
                        + ((ByteArrayOutputStream) out2).toString(CoreLibConstants.UTF_8);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
            }
        }
    
        public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) {
            return getXContentBuilderOutputStream((builder, params) -> xContent.toXContent(builder, params), mediaType);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top