Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for output (0.14 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            validate(form, messages -> {}, () -> asListHtml(form.dictId));
            stemmerOverrideService.getStemmerOverrideItem(form.dictId, form.id).ifPresent(entity -> {
                form.input = entity.getInput();
                form.output = entity.getOutput();
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()),
                        () -> asListHtml(form.dictId));
    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)
  2. src/main/java/org/codelibs/fess/api/WebApiResponse.java

    package org.codelibs.fess.api;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    
    public class WebApiResponse extends HttpServletResponseWrapper {
    
        public WebApiResponse(final HttpServletResponse response) {
            super(response);
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Python: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        private final String input;
    
        private final String output;
    
        private String newInput;
    
        private String newOutput;
    
        public StemmerOverrideItem(final long id, final String input, final String output) {
            this.id = id;
            this.input = input;
            this.output = output;
    
            if (id == 0) {
                // create
                newInput = input;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                        }
                        continue;
                    }
    
                    final String input = m.group(1).trim();
                    final String output = m.group(2).trim();
    
                    if (input == null || output == null) {
                        logger.warn("Failed to parse {} to {}", line, path);
                        if (updater != null) {
                            updater.write("# " + line);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/dict/StemmerOverrideTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("output", "output");
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("output", "new_output");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        private final String[] inputs;
    
        private final String output;
    
        private String[] newInputs;
    
        private String newOutput;
    
        public CharMappingItem(final long id, final String[] inputs, final String output) {
            this.id = id;
            this.inputs = inputs;
            this.output = output == null ? null : output.replace("\n", " ");
            Arrays.sort(inputs);
    
            if (id == 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
            }
        }
    
        public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/CreateForm.java

        public String dictId;
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 1000)
        public String inputs;
    
        @Size(min = 1, max = 1000)
        public String output;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.inputs = entity.getInputsValue();
            body.output = entity.getOutput();
            return body;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top