Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 420 for streams (0.98 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

        /**
         * Reads the next ASN.1 object from a stream and casts it to the specified type
         * @param <T> the target ASN.1 primitive type
         * @param type the target class type
         * @param stream the ASN.1 input stream
         * @return next object from stream cast to type
         * @throws PACDecodingException if types are incompatible
         * @throws IOException if reading from stream fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testUnknownExtension() throws IOException {
                assertEquals("application/octet-stream", mimeMap.getMimeType("unknownext"));
                assertEquals("application/octet-stream", mimeMap.getMimeType("notfound"));
                assertEquals("application/octet-stream", mimeMap.getMimeType("doesnotexist"));
            }
    
            @Test
            @DisplayName("Should handle case insensitive extensions")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

            try {
                final List<BasicNameValuePair> parameters =
                        StreamUtil.split(params, "&").get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
                            final String name;
                            final String value;
                            final int pos = s.indexOf('=');
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1)
                    .contentType("application/octet-stream")
                    .build());
            minioClient.putObject(PutObjectArgs.builder()
                    .bucket(bucketName)
                    .object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                addSystemProperty(cmdList, "fess.log.level", null, null);
            } else {
                cmdList.add("-Dfess.log.level=" + logLevel);
            }
            stream(fessConfig.getJvmSuggestOptionsAsArray())
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value)));
    
            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

        }
    
        /**
         * Tests that the getter for the input stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetInputStream() throws CIFSException {
            assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream.");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsVisioExtractor.java

        }
    
        /**
         * Extracts text from the Visio input stream.
         * @param in The input stream.
         * @param params The parameters.
         * @return The extracted data.
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("Microsoft Visio input stream is null. Cannot extract text from null input.");
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(value)) {
                defaultResponseHeaders = Collections.emptyList();
                return;
            }
    
            StreamUtil.split(value, "\n").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                final String[] values = StringUtils.split(s, "=", 2);
                List<Pair<String, String>> list = responseHeaderMap.get(values[0]);
                if (list == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.accesstoken;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.lang.StringUtil;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top