Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for readValues (1.05 sec)

  1. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, new CsvConfig());
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    String targetWord = getValue(list, 0);
                    if (StringUtil.isBlank(targetWord)) {
                        // skip
                        continue;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, cfg);
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    final String suggestWord = getValue(list, 0);
                    if (StringUtil.isBlank(suggestWord)) {
                        // skip
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            final DateFormat formatter = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND);
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
                while ((list = csvReader.readValues()) != null) {
                    try {
                        final String sessionId = list.get(0);
                        CrawlingInfo crawlingInfo = crawlingInfoBhv.selectEntity(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                    if (list == null) {
                        try {
                            final ObjectMapper mapper = new ObjectMapper();
                            final Map<String, String> passwordMap = mapper.readValue(value, new TypeReference<Map<String, String>>() {
                            });
                            list = passwordMap.entrySet().stream().map(e -> new Pair<>(Pattern.compile(e.getKey()), e.getValue()))
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                deleteTempFile(tempFile);
            }
        }
    
        private Map<String, Map<String, String>> parseObject(final ObjectMapper mapper, final String line) {
            try {
                return mapper.readValue(line, new TypeReference<Map<String, Map<String, String>>>() {
                });
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to parse {}", line, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final ObjectMapper objectMapper = new YAMLMapper();
            try {
                @SuppressWarnings("unchecked")
                final List<Map<?, ?>> result = objectMapper.readValue(content, List.class);
                if (result != null) {
                    return result.stream().map(o -> new Artifact((String) o.get("name"), (String) o.get("version"), (String) o.get("url")))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                            try {
                                if (StringUtil.isBlank(prev)) {
                                    final Map<String, Map<String, String>> result =
                                            mapper.readValue(line, new TypeReference<Map<String, Map<String, String>>>() {
                                            });
                                    if (result.containsKey("index") || result.containsKey("update")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top