- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ByteArrayOutputStream (0.32 sec)
-
src/main/java/org/codelibs/fess/api/WebApiResponse.java
import org.apache.commons.io.output.ByteArrayOutputStream; public class WebApiResponse extends HttpServletResponseWrapper { public WebApiResponse(final HttpServletResponse response) { super(response); } @Override public PrintWriter getWriter() throws IOException { // dummy stream return new PrintWriter(new ByteArrayOutputStream()); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Locale; import java.util.Set; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> { try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { ComponentUtil.getSystemProperties().store(baos, id); try (final InputStream in = new ByteArrayInputStream(baos.toByteArray())) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
ASN1EncodableVector ev = new ASN1EncodableVector(); ev.add(SPNEGO_OID); ev.add(new DERTaggedObject(true, 0, new DERSequence(fields))); ByteArrayOutputStream collector = new ByteArrayOutputStream(); ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.function.Function; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
static String srcString = "ABCDEFGHIJKLMN"; static String urlString = "あいうえお"; InputStream is = new ByteArrayInputStream(srcBytes); ByteArrayOutputStream os = new ByteArrayOutputStream(); Reader reader = new StringReader(srcString); StringWriter writer = new StringWriter(); StringBuilder builder = new StringBuilder();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
* @return オブジェクトのbyte配列 */ public static byte[] fromObjectToBinary(final Object obj) { assertArgumentNotNull("obj", obj); try { final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE); final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> { try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) { ComponentUtil.getSystemProperties().store(baos, id); try (final InputStream in = new ByteArrayInputStream(baos.toByteArray())) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 25.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} return hash; } public String encodeSimilarDocHash(final String hash) { 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)); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
return buf; } protected StringBuilder appendException(final StringBuilder buf, final Exception exception) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) { exception.printStackTrace(writer); writer.flush();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3K bytes - Viewed (0)