Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 207 for inputstream (1.21 sec)

  1. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
                    final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) {
                out.write(inputStream);
            }
        }
    
        /**
         * Gets the type identifier for this dictionary file.
         *
         * @return the dictionary type
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceHandler.java

    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    /**
     * Interface for handlers that process resources.
     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
         * @param path the path
         * @param is the {@link InputStream} to read the resource
         */
        void processResource(String path, InputStream is);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 997 bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final InputStream in = new ByteArrayInputStream(bytes);
    
            try {
                sitemapsHelper.parse(in);
                fail();
            } catch (final CrawlingAccessException e) {
                // NOP
            }
        }
    
        public void test_parseXmlSitemaps_invalid2() {
            final byte[] bytes = "test".getBytes();
            final InputStream in = new ByteArrayInputStream(bytes);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor;
    
    import java.io.InputStream;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

        public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) {
            try {
                final PutObjectRequest request =
                        PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build();
                s3Client.putObject(request, RequestBody.fromInputStream(inputStream, size));
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        }
    
        static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Verify content in both files
            try (InputStream in = sourceFile.getInputStream()) {
                String sourceContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, sourceContent, "Source content should remain unchanged");
            }
    
            try (InputStream in = targetFile.getInputStream()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/CopyUtilTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

     */
    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author higa
     *
     */
    public class InputStreamUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetBytes() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.LocalDateTime;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
Back to top