Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for SplitN (0.14 sec)

  1. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    final StringBuilder buf = new StringBuilder(100);
                    char split = 0;
                    for (final String path : includedPaths.split("\n")) {
                        if (split == 0) {
                            split = '|';
                        } else {
                            buf.append(split);
                        }
                        final String normalizePath = systemHelper.normalizeConfigPath(path);
    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)
  2. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String value = config.getInitParameter(ENCODING_MAP);
            if (StringUtil.isNotBlank(value)) {
                final String[] encodingPairs = value.split(",");
                for (final String pair : encodingPairs) {
                    final String[] encInfos = pair.trim().split(":");
                    if (encInfos.length == 2) {
                        encodingMap.put("/" + encInfos[0] + "/", encInfos[1]);
                    }
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.client;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fesen.client.HttpClient;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (StringUtil.isBlank(value)) {
                return Collections.emptyList();
            }
            return split(value, ",").get(stream -> stream.map(String::trim)//
                    .map(s -> clientRuleCache.computeIfAbsent(s, t -> {
                        final String[] values = t.split(":", 2);
                        if (values.length != 2) {
                            return null;
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
    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)
  6. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

                if (StringUtil.isNotBlank(getIncludedDocUrls())) {
                    final List<Pattern> urlPatterList = new ArrayList<>();
                    final String[] urls = getIncludedDocUrls().split("[\r\n]");
                    for (final String u : urls) {
                        final String v = systemHelper.normalizeConfigPath(u);
                        if (StringUtil.isNotBlank(v)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.labeltype;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    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)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                ZipEntry entry;
                while ((entry = zis.getNextEntry()) != null) {
                    if (!entry.isDirectory()) {
                        final String[] names = StreamUtil.split(entry.getName(), "/")
                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
                        if (names.length < 2) {
                            continue;
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            }
    
            // web auth
            final String webAuthStr = paramMap.get(CRAWLER_WEB_AUTH);
            if (StringUtil.isNotBlank(webAuthStr)) {
                final String[] webAuthNames = webAuthStr.split(",");
                final List<Authentication> basicAuthList = new ArrayList<>();
                for (final String webAuthName : webAuthNames) {
    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)
  10. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final Pattern properyPattern = Pattern.compile(ComponentUtil.getFessConfig().getAppEncryptPropertyPattern());
                final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
    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