- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for Writer (0.07 sec)
-
CharMappingFile.java
{ L260: throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); L261: } L262: } L263: L264: public void write(final String line) { L265: try { L266: writer.write(line); L267: writer.write(Constants.LINE_SEPARATOR); L268: } catch (final IOException e) { L269: throw new DictionaryException("Failed to write: " + line, e); L270: } L271: } L272: L273: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 10.2K bytes -
AdminBackupAction.java
.getId()) + "\"}}\n"); L372: writer.write(hit.getSourceAsString()); L373: writer.write("\n"); L374: } catch (final IOException e) { L375: throw new IORuntimeException(e); L376: } L377: return true; L378: }); L379: writer.flush(); L380: } L381: });...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
ApiAdminBackupAction.java
(hit.getId()) + "\"}}\n"); L93: writer.write(hit.getSourceAsString()); L94: writer.write("\n"); L95: } catch (final IOException e) { L96: throw new IORuntimeException(e); L97: } L98: return true; L99: }); L100: writer.flush(); L101: } L102: }); L103:...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 6.1K bytes -
ProtwordsFile.java
{ L244: throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); L245: } L246: } L247: L248: public void write(final String line) { L249: try { L250: writer.write(line); L251: writer.write(Constants.LINE_SEPARATOR); L252: } catch (final IOException e) { L253: throw new DictionaryException("Failed to write: " + line, e); L254: } L255: } L256: L257: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.6K bytes -
StopwordsFile.java
{ L244: throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); L245: } L246: } L247: L248: public void write(final String line) { L249: try { L250: writer.write(line); L251: writer.write(Constants.LINE_SEPARATOR); L252: } catch (final IOException e) { L253: throw new DictionaryException("Failed to write: " + line, e); L254: } L255: } L256: L257: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.6K bytes -
StemmerOverrideFile.java
{ L257: throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); L258: } L259: } L260: L261: public void write(final String line) { L262: try { L263: writer.write(line); L264: writer.write(Constants.LINE_SEPARATOR); L265: } catch (final IOException e) { L266: throw new DictionaryException("Failed to write: " + line, e); L267: } L268: } L269: L270: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 10.6K bytes -
MonitorTarget.java
StringBuilder appendException(final StringBuilder buf, final Exception exception) { L63: try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); L64: PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) { L65: exception.printStackTrace(writer); L66: writer.flush(); L67: append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8))); L68: } catch (final IOException...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 3K bytes -
ApiAdminBadwordAction.java
L174: final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); L175: try { L176: try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { L177: badWordService.exportCsv(writer); L178: } catch (final Exception e) { L179: logger.warn("Failed to process a request.", e); L180: throwValidationErrorApi(messages...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 8.4K bytes -
ElevateWordService.java
L271: } L272: } L273: L274: public void exportCsv(final Writer writer) { L275: final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); L276: final CsvConfig cfg = new CsvConfig(',', '"', '"'); L277: cfg.setEscapeDisabled(false); L278: cfg.setQuoteDisabled(false); L279: @SuppressWarnings("resource") L280: final CsvWriter csvWriter = new CsvWriter(writer, cfg); L281: try { L282: final List<String> list =...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes -
AdminBadwordAction.java
L210: final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); L211: try { L212: try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { L213: badWordService.exportCsv(writer); L214: } catch (final Exception e) { L215: logger.warn("Failed to process a request.", e); L216: throwValidationError(messages...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 16.2K bytes