Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InputStreamUtil (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    import org.codelibs.core.io.InputStreamUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. README.md

    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    // Resource traversal for processing multiple files
    ResourceTraversalUtil.forEach("META-INF", (resource, is) -> {
        // Process each resource in the META-INF directory
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/CopyUtil.java

         */
        public static int copy(final File in, final OutputStream out) {
            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            final FileInputStream is = InputStreamUtil.create(in);
            try {
                if (out instanceof FileOutputStream) {
                    return copyInternal(is, (FileOutputStream) out);
                }
                return copyInternal(is, wrap(out));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top