Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for fwrite (0.14 sec)

  1. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenToolchainsStaxWriter().write(writer, content);
                } else {
                    new MavenToolchainsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write toolchains", e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenToolchainsStaxWriter().write(writer, content);
                } else {
                    new MavenToolchainsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write toolchains: " + getMessage(e), getLocation(e), e);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       *
       * 1. visibility of the writes to these fields to Fire.run:
       *
       * The initial write to delegateRef is made definitely visible via the semantics of
       * addListener/SES.schedule. The later racy write in cancel() is not guaranteed to be observed,
       * however that is fine since the correctness is based on the atomic state in our base class. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

        }
    
        @Override
        public void write(int b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void write(byte[] b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top