- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for Writer (0.26 sec)
-
src/main/java/org/codelibs/core/io/WriterUtil.java
import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import org.codelibs.core.exception.IORuntimeException; /** * {@link Writer}用のユーティリティクラスです。 * * @author koichik */ public abstract class WriterUtil { /** * 指定のエンコーディングでストリームへ出力する{@link Writer}を作成します。 * * @param os * ストリーム。{@literal null}であってはいけません
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) { exception.printStackTrace(writer); writer.flush(); append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
} try { if (writer != null) { new PluginDescriptorStaxWriter().write(writer, content); } else if (outputStream != null) { new PluginDescriptorStaxWriter().write(outputStream, content); } else { try (OutputStream os = Files.newOutputStream(path)) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e); } } public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR); } catch (final IOException e) { throw new DictionaryException("Failed to write: " + line, e); } }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
} public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try { writer.write(s); writer.write('\n'); } catch (final IOException e) { throw new IORuntimeException(e);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
final int result = copy(url, "UTF-8", writer); assertThat(result, is(urlString.length())); assertThat(writer.toString(), is(urlString)); } /** * @throws Exception */ @Test public void testFileToWriter() throws Exception { final int result = copy(inputFile, "UTF-8", writer); assertThat(result, is(urlString.length()));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
writer.write(hit.getSourceAsString()); writer.write("\n"); } catch (final IOException e) { throw new IORuntimeException(e); } return true; }); writer.flush(); } });
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0)