Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 143 for Writer (0.28 sec)

  1. 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)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
         *
         * @param output The writer to serialize the model to, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

            delegate.setFileComment(fileComment);
        }
    
        /**
         * Method write.
         *
         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:44:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTest.java

      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        writer.write(STRING);
        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java

         * Store the cache entry with the given cache key. The {@code writer} will be called to actually write the data.
         *
         * @param key the cache key.
         * @param writer the writer to write the data corresponding to the cache key.
         * @throws BuildCacheException if the cache fails to store a cache entry for the given key
         */
        void store(BuildCacheKey key, BuildCacheEntryWriter writer) throws BuildCacheException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            }
        }
    
        @Override
        public void write(File output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model)
                throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java

        @Override
        default void store(BuildCacheKey key, BuildCacheEntryWriter legacyWriter) throws BuildCacheException {
            NextGenWriter writer;
            if (legacyWriter instanceof NextGenWriter) {
                writer = (NextGenWriter) legacyWriter;
            } else {
                writer = new NextGenWriter() {
                    @Override
                    public InputStream openStream() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            try (DeferredFileOutputStream dfos = new DeferredFileOutputStream(memorySize, "tika", ".tmp", SystemUtils.getJavaIoTmpDir())) {
                final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(dfos, enc));
                out.accept(writer);
                writer.flush();
    
                if (!dfos.isInMemory()) {
                    tempFile = dfos.getFile();
                }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundModelRulesException.java

        }
    
        private static String toMessage(Iterable<? extends UnboundRule> rules) {
            StringWriter string = new StringWriter();
            PrintWriter writer = new PrintWriter(string);
            writer.println(MESSAGE);
            writer.println();
            new UnboundRulesReporter(writer, "  ").reportOn(rules);
            return string.toString();
        }
    
        public List<? extends UnboundRule> getRules() {
            return rules;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top