Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for Pattern (0.21 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

                return Constants.TRUE;
            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         * パターン文字列を区切り文字を含まないプレーンなパターン文字列に変換して返します。
         *
         * @param pattern
         *            パターン文字列
         * @return 区切り文字を含まないプレーンなパターン文字列
         */
        protected static String toPlainPattern(final String pattern) {
            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

        /**
         * 数値のパターンです。
         */
        protected String pattern;
    
        /**
         * インスタンスを構築します。
         *
         * @param pattern
         *            数値のパターン
         */
        public NumberConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

    import java.util.Date;
    import java.util.regex.Pattern;
    
    import javax.annotation.Resource;
    
    import org.codelibs.fess.Constants;
    
    public abstract class DictionaryCreator {
    
        protected Pattern pattern;
    
        @Resource
        protected DictionaryManager dictionaryManager;
    
        protected DictionaryCreator(final String pattern) {
            this.pattern = Pattern.compile(pattern);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

        }
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Long}
         */
        public static Long toLong(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Long) {
                return (Long) o;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * @see DateConverter
         */
        public static CopyOptions dateConverter(final String pattern, final CharSequence... propertyNames) {
            return new CopyOptions().dateConverter(pattern, propertyNames);
        }
    
        /**
         * SQL用日付のコンバータを設定した{@link CopyOptions}を返します。
         *
         * @param pattern
         *            日付のパターン。{@literal null}や空文字列であってはいけません
         * @param propertyNames
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                return Collections.emptySet();
            }
    
            final Set<String> valueSet = new HashSet<>();
            for (final LabelTypePattern pattern : labelTypePatternList) {
                if (pattern.match(path)) {
                    valueSet.add(pattern.getValue());
                }
            }
            return valueSet;
        }
    
        protected void buildLabelTypePatternList(final List<LabelType> labelTypeList) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            }
    
            Pattern pattern = null;
            if (StringUtil.isNotBlank(ignoreFailureType)) {
                pattern = Pattern.compile(ignoreFailureType);
            }
            final List<String> urlList = new ArrayList<>();
            for (final FailureUrl failureUrl : list) {
                if (pattern != null) {
                    if (!pattern.matcher(failureUrl.getErrorName()).matches()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

        }
    
        /**
         * {@link BigDecimal}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link BigDecimal}
         */
        public static BigDecimal toBigDecimal(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigDecimal) {
                return (BigDecimal) o;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ParameterUtil.java

        public static Map<String, String> parse(final String value) {
            final Map<String, String> paramMap = new LinkedHashMap<>();
            if (value != null) {
                int unknownKey = 0;
                final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
                final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
                final String[] lines = value.split("[\r\n]");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top