- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for Krister (0.97 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
public XmlWriterRequestBuilder<T> writer(Writer writer) { this.writer = writer; return this; } public XmlWriterRequestBuilder<T> content(T content) { this.content = content; return this; } public XmlWriterRequest<T> build() { return new DefaultXmlWriterRequest<>(path, outputStream, writer, content); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* @since 15.0 (in 14.0 with return type {@link BufferedWriter}) */ public Writer openBufferedStream() throws IOException { Writer writer = openStream(); return (writer instanceof BufferedWriter) ? (BufferedWriter) writer : new BufferedWriter(writer); } /** * Writes the given character sequence to this sink. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 6.1K 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(); } });
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.1K bytes - Viewed (0) -
maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java
} /** * Method write. * * @param writer a writer object * @param metadata a Metadata object * @throws java.io.IOException java.io.IOException if any */ public void write(Writer writer, Metadata metadata) throws java.io.IOException { try { delegate.write(writer, metadata.getDelegate()); } catch (XMLStreamException e) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null && path == null) { throw new IllegalArgumentException("writer, outputStream or path must be non null"); } try { if (writer != null) { new MavenStaxWriter().write(writer, content); } else if (outputStream != null) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 5.4K bytes - Viewed (0) -
maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
void write(File output, Map<String, Object> options, Settings settings) throws IOException; /** * Writes the supplied settings to the specified character writer. The writer will be automatically closed before * the method returns. * * @param output The writer to serialize the settings to, must not be {@code null}. * @param options The options to use for serialization, may be {@code null} to use the default values.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
.content(content) .outputStream(outputStream) .build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException { write(XmlWriterRequest.<T>builder().content(content).writer(writer).build()); } void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException; /** * Simply parse the given xml string. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
Files.createDirectories(dest.getParent()); try (Writer w = Files.newBufferedWriter(dest)) { MavenStaxWriter writer = new MavenStaxWriter(); writer.setNamespace(String.format(NAMESPACE_FORMAT, version)); writer.setSchemaLocation(String.format(SCHEMA_LOCATION_FORMAT, version)); writer.setAddLocationInformation(false); writer.write(w, model); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 8K bytes - Viewed (0) -
maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeWriter.java
import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; import java.io.Writer; import java.util.Map; import org.apache.maven.api.xml.XmlNode; import org.codehaus.stax2.util.StreamWriterDelegate; /** * */ public class XmlNodeWriter { public static void write(Writer writer, XmlNode dom) throws XMLStreamException { XMLOutputFactory factory = new com.ctc.wstx.stax.WstxOutputFactory();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Nov 27 23:11:34 UTC 2023 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
StringBuilder builder = new StringBuilder(); Writer writer = new AppendableWriter(builder); writer.write("Hello".toCharArray()); writer.write(','); writer.write(0xBEEF0020); // only lower 16 bits are important writer.write("Wo"); writer.write("Whirled".toCharArray(), 3, 2); writer.write("Mad! Mad, I say", 2, 2); assertEquals("Hello, World!", builder.toString()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.2K bytes - Viewed (0)