Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 184 for if (0.2 sec)

  1. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
                if (componentMap.containsKey(clazz.getCanonicalName())) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static String getResourcePath(final String path, final String extension) {
            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
                return path;
            }
            return path.replace('.', '/') + ext;
        }
    
        /**
         * リソースパスを返します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, () -> asListHtml(dictId));
            }
        }
    
        protected void verifyForm(final CreateForm form) {
            if (form.token != null && form.token.split(" ").length > 1) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()),
                        () -> asListHtml(form.dictId));
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents, final String encoding) {
            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()),
                        () -> asListHtml(form.dictId));
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        @Test
        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            Method newStringUnsafeMethod = StringUtil.newStringUnsafeMethod;
            if (newStringUnsafeMethod != null) {
                StringUtil.newStringUnsafeMethod = null;
                char[] chars = new char[0];
                assertThat(StringUtil.newStringUnsafe(chars), is(""));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            if (ComponentUtil.hasIngestFactory()) {
                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        @PreDestroy
        public void destroy() {
            if (!finishCrawling) {
                if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (logger.isDebugEnabled()) {
                logger.debug("mimeType: {}", mimeType);
            }
            if (mimeType == null) {
                response.contentTypeOctetStream();
                return;
            }
            if (mimeType.startsWith("text/")) {
                final String charset = responseData.getCharSet();
                if (charset != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
Back to top