Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for ByteArrayOutputStream (0.26 sec)

  1. 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)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    cause = cause.getCause();
                }
    
                if ((cause instanceof NoClassDefFoundError) || (cause instanceof ClassNotFoundException)) {
                    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
                    PrintStream ps = new PrintStream(os);
                    ps.println("Unable to load the mojo '" + mojoDescriptor.getGoal() + "' in the plugin '"
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      @GuardedBy("this")
      @CheckForNull
      private MemoryOutput memory;
    
      @GuardedBy("this")
      @CheckForNull
      private File file;
    
      /** ByteArrayOutputStream that exposes its internals. */
      private static class MemoryOutput extends ByteArrayOutputStream {
        byte[] getBuffer() {
          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

     */
    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. 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)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.errorprone.annotations.Keep;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    import java.io.Serializable;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.errorprone.annotations.Keep;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.io.Reader;
    import java.io.Serializable;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top