Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,916 for IS (0.56 sec)

  1. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

         * @param is
         *            Input stream; must not be {@literal null}.
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
            assertArgumentNotNull("builder", builder);
            assertArgumentNotNull("is", is);
    
            try {
                return builder.parse(is);
            } catch (final SAXException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/text/JsonUtilTest.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.text;
    
    import static org.hamcrest.core.Is.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

         * This is a required field identifying the specific job type.
         */
        @Required
        public String jobName;
    
        /**
         * The execution status of the job.
         * This is a required field indicating success, failure, or running status.
         */
        @Required
        public String jobStatus;
    
        /**
         * The target or scope of the job execution.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

         * Validates that the input stream is not null.
         * This is a common validation performed by most extractors.
         *
         * @param in The input stream to validate
         * @throws CrawlerSystemException if the input stream is null
         */
        protected void validateInputStream(final InputStream in) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/MimeMap.java

         *
         * @throws IOException if there is an error reading the mime.map resource file
         */
        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    
            inLen = 0;
            while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) {
                inLen += n;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
                }
                fail("Should not reach this point");
            } catch (IOException e) {
                assertEquals("Resource is null", e.getMessage());
                // No NullPointerException should be thrown when exiting try-with-resources
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> map = BeanUtil.copyBeanToNewMap(hoge);
            assertThat(map.size(), is(4));
            assertThat(map.get("aaa"), is((Object) "1"));
            assertThat(map.get("search_bbb"), is((Object) "2"));
            assertThat(map.get("search_ccc.ddd"), is((Object) "3"));
            assertThat(map.get("employee.name"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Integer.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Object.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top