- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for fwrite (0.11 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 -
SynonymFile.java
{ L321: throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); L322: } L323: } L324: L325: public void write(final String line) { L326: try { L327: writer.write(line); L328: writer.write(Constants.LINE_SEPARATOR); L329: } catch (final IOException e) { L330: throw new DictionaryException("Failed to write: " + line, e); L331: } L332: } L333: L334: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 12.5K 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 -
AdminDesignAction.java
{}", parentFile.getAbsolutePath()); L175: } L176: L177: try { L178: write(uploadFile.getAbsolutePath(), form.designFile.getFileData()); L179: final String currentFileName = fileName; L180: saveInfo(messages -> messages.addSuccessUploadDesignFile(GLOBAL, currentFileName)); L181: } catch (final Exception e) { L182: logger.error("Failed to write an image file: {}", fileName, e); L183: throwValidationError(messages -> message...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
ViewHelper.java
response.stream(out -> { L705: try (final InputStream is = new BufferedInputStream(responseData.getResponseBody())) { L706: out.write(is); L707: } catch (final IOException e) { L708: if (!(e.getCause() instanceof ClientAbortException)) { L709: throw new FessSystemException("Failed to write a content. configId: " + configId + ", url: " + url, e); L710: } L711: } finally { L712: CloseableUtil.cl...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
SearchHelper.java
SearchEngineClientException("Failed to update bulk data.", e); L365: } L366: } L367: L368: protected SearchRequestParams rewrite(final SearchRequestParams params) { L369: SearchRequestParams newParams = params; L370: for (final SearchRequestParamsRewriter rewriter : searchRequestParamsRewriters) { L371: newParams = rewriter.rewrite(newParams); L372: } L373: return newParams; L374: } L375: L376: public void addRewriter(final SearchRequestParamsRewriter...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 19.1K bytes -
AdminMaintenanceAction.java
final String data = "{\"index\":{\"_index\":\"" + index + "\",\"_id\":\"" + StringEscapeUtils.escapeJson(hit.getId()) L228: + "\"}}\n" + hit.getSourceAsString() + "\n"; L229: try { L230: zos.write(data.getBytes(Constants.CHARSET_UTF_8)); L231: } catch (final IOException e) { L232: logger.warn("Failed to access /{}/{}.", index, hit.getId(), e); L233: } L234: return true; L235: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 14K bytes -
FessXpathTransformerTest.java
eys.INDENT, "no"); L548: transformer.setOutputProperty(OutputKeys.METHOD, "xml"); L549: L550: final StringWriter writer = new StringWriter(); L551: final StreamResult result = new StreamResult(writer); L552: L553: final DOMSource source = new DOMSource(node); L554: transformer.transform(source, result); L555: L556: return writer.toString(); L557: } L558: L559: public void test_getChildUrlRules() { L560: assertEquals("", new FessXpathTransformer()...github.com/codelibs/fess/src/test/java/org/code...Thu Oct 24 13:01:38 UTC 2024 41.3K bytes -
FessXpathTransformer.java
String(InputStreamUtil.getBytes(is), charSet)); L415: putResultDataBody(dataMap, fessConfig.getIndexFieldHasCache(), Constants.TRUE); L416: } catch (final Exception e) { L417: logger.warn("Failed to write a cache: {}:{}", sessionId, responseData, e); L418: } L419: } else { L420: logger.debug("Content size is too large({} > {}): {}", responseData.getContentLength(), L421: fessConfig.get...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes