- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StreamingStyledTextOutput (0.34 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutput.java
* styling information. */ public class StreamingStyledTextOutput extends AbstractStyledTextOutput implements Closeable { private final StandardOutputListener listener; private final Closeable closeable; /** * Creates a text output which forwards text to the given listener. * @param listener The listener. */ public StreamingStyledTextOutput(StandardOutputListener listener) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/StreamingStyledTextOutputTest.groovy
StandardOutputListener listener = Mock() StreamingStyledTextOutput output = new StreamingStyledTextOutput(listener) when: output.text('text') then: 1 * listener.onOutput('text') } def forwardsTextToAnAppendable() { Appendable appendable = Mock() StreamingStyledTextOutput output = new StreamingStyledTextOutput(appendable) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutputFactory.java
public StreamingStyledTextOutputFactory(Appendable target) { this.target = target; } @Override public StyledTextOutput create(String logCategory, LogLevel logLevel) { return new StreamingStyledTextOutput(target); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.1K bytes - Viewed (0)