Home
last modified time | relevance | path

Searched refs:Writer (Results 1 – 25 of 55) sorted by relevance

123

/libcore/ojluni/src/main/java/java/io/
DWriter.java51 public abstract class Writer implements Appendable, Closeable, Flushable { class
82 public static Writer nullWriter() { in nullWriter()
83 return new Writer() { in nullWriter()
93 public Writer append(char c) throws IOException { in nullWriter()
99 public Writer append(CharSequence csq) throws IOException { in nullWriter()
105 public Writer append(CharSequence csq, int start, int end) throws IOException { in nullWriter()
161 protected Writer() { in Writer() method
172 protected Writer(Object lock) { in Writer() method
321 public Writer append(CharSequence csq) throws IOException { in append()
364 public Writer append(CharSequence csq, int start, int end) throws IOException { in append()
[all …]
DBufferedWriter.java66 public class BufferedWriter extends Writer {
68 private Writer out;
81 public BufferedWriter(Writer out) { in BufferedWriter()
94 public BufferedWriter(Writer out, int sz) { in BufferedWriter()
267 try (Writer w = out) { in close()
DFilterWriter.java41 public abstract class FilterWriter extends Writer {
46 protected Writer out;
54 protected FilterWriter(Writer out) { in FilterWriter()
DOutputStreamWriter.java76 public class OutputStreamWriter extends Writer {
227 public Writer append(CharSequence csq, int start, int end) throws IOException { in append()
233 public Writer append(CharSequence csq) throws IOException { in append()
DCharArrayWriter.java43 class CharArrayWriter extends Writer {
145 public void writeTo(Writer out) throws IOException { in writeTo()
DPrintWriter.java61 public class PrintWriter extends Writer {
69 protected Writer out;
98 public PrintWriter (Writer out) { in PrintWriter()
110 public PrintWriter(Writer out, in PrintWriter()
/libcore/support/src/test/java/org/apache/harmony/testframework/
DCharWrapperTester.java24 import java.io.Writer;
38 public abstract Writer create(Writer delegate) throws Exception; in create()
84 public Writer create() throws Exception { in create()
113 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlushSuppressed()
122 Writer o = create(delegate); in wrapperTestFlushThrowsViaCloseSuppressed()
132 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlush()
148 Writer o = create(delegate); in wrapperTestFlushThrowsViaClose()
169 Writer o = create(delegate); in wrapperTestCloseThrows()
181 Writer o = create(delegate); in wrapperTestCloseThrowsSuppressed()
193 private static class ClosableStringWriter extends Writer {
[all …]
DCharSinkTester.java25 import java.io.Writer;
42 public abstract Writer create() throws Exception; in create()
96 Writer out = create(); in sinkTestNoWriting()
104 Writer out = create(); in sinkTestWriteZeroChars()
117 Writer out = create(); in sinkTestWriteCharByChar()
129 Writer out = create(); in sinkTestWriteArray()
141 Writer out = create(); in sinkTestWriteOffset()
172 Writer out = create(); in sinkTestWriteLargeArray()
181 Writer out = create(); in sinkTestWriteAfterClose()
196 Writer out = create(); in sinkTestWriteAfterCloseSuppressed()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTesterTest.java38 import java.io.Writer;
80 public Writer create() throws Exception { in create()
96 public Writer create() throws Exception { in create()
112 public Writer create() throws IOException { in create()
144 public Writer create() throws Exception { in create()
163 public Writer create(Writer delegate) throws Exception { in create()
175 public Writer create(Writer delegate) throws Exception { in create()
188 public Writer create(Writer delegate) throws Exception { in create()
203 public Writer create() throws Exception { in create()
DWriterTest.java19 import java.io.Writer;
69 Writer wr = new MockLockWriter(lock); in test_writeLjava_lang_String()
74 class MockLockWriter extends Writer {
99 class MockWriter extends Writer {
/libcore/luni/src/test/java/libcore/java/io/
DOldWriterTest.java20 import java.io.Writer;
27 Writer tobj = new Support_ASimpleWriter(2); in test_appendChar()
41 Writer tobj = new Support_ASimpleWriter(20); in test_appendCharSequence()
54 Writer tobj = new Support_ASimpleWriter(21); in test_appendCharSequenceIntInt()
79 Writer tobj = new Support_ASimpleWriter(21); in test_appendCharSequenceIntInt_Exception()
101 Writer tobj = new Support_ASimpleWriter(21); in test_write$C()
118 Writer tobj = new Support_ASimpleWriter(2); in test_writeI()
131 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_String()
149 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_StringII()
174 Writer tobj = new Support_ASimpleWriter(21); in test_writeLjava_lang_StringII_Exception()
DPrintWriterTest.java34 private class Writer extends PrintWriter { class in PrintWriterTest
36 Writer(File f) throws FileNotFoundException { in Writer() method in PrintWriterTest.Writer
52 Writer writer = new Writer(f); in testSetError()
DOldFilterWriterTest.java31 public MyFilterWriter(java.io.Writer writer) { in MyFilterWriter()
36 class MockWriter extends java.io.Writer {
/libcore/luni/src/main/java/javax/xml/transform/stream/
DStreamResult.java24 import java.io.Writer;
70 public StreamResult(Writer writer) { in StreamResult()
124 public void setWriter(Writer writer) { in setWriter()
134 public Writer getWriter() { in getWriter()
193 private Writer writer;
/libcore/ojluni/src/test/java/io/Writer/
DNullWriter.java24 package test.java.io.Writer;
27 import java.io.Writer;
42 private static Writer openWriter;
43 private static Writer closedWriter;
47 openWriter = Writer.nullWriter(); in openStream()
52 closedWriter = Writer.nullWriter(); in openAndCloseStream()
DAppend.java30 package test.java.io.Writer;
38 Writer.class, BufferedWriter.class, FilterWriter.class,
/libcore/ojluni/src/test/java/io/Reader/
DTransferTo.java92 Writer output) in transferToThenCheckIfAnyClosed()
131 Writer out = output()) { in onReturnInputIsAtEnd()
172 private static Writer output() { in output()
176 private static Writer output(int exceptionPosition) { in output()
177 return new Writer() { in output()
195 public Writer append(CharSequence csq, int start, int end) throws IOException { in output()
302 CloseLoggingWriter(Writer out) {
/libcore/luni/src/main/java/org/w3c/dom/ls/
DLSOutput.java54 public java.io.Writer getCharacterStream(); in getCharacterStream()
59 public void setCharacterStream(java.io.Writer characterStream); in setCharacterStream()
/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic2.java55 Writer writer = new Writer(Channels.newOutputStream(ch1)); in basic2Test()
128 static class Writer implements Runnable { class in Basic2
133 Writer(OutputStream out) { in Writer() method in Basic2.Writer
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreNPE.java28 import java.io.Writer;
52 props.store((Writer)null, "comments"); in main()
/libcore/ojluni/src/main/java/java/sql/
DSQLXML.java31 import java.io.Writer;
293 Writer setCharacterStream() throws SQLException; in setCharacterStream()
/libcore/support/src/test/java/tests/support/
DSupport_ASimpleWriter.java4 import java.io.Writer;
12 public class Support_ASimpleWriter extends Writer {
DSupport_StringWriter.java21 import java.io.Writer;
23 public class Support_StringWriter extends Writer {
/libcore/ojluni/annotations/sdk/nullability/java/io/
DPrintWriter.annotated.java34 public class PrintWriter extends java.io.Writer {
36 public PrintWriter(@libcore.util.NonNull java.io.Writer out) { throw new RuntimeException("Stub!");… in PrintWriter()
38 public PrintWriter(@libcore.util.NonNull java.io.Writer out, boolean autoFlush) { throw new Runtime… in PrintWriter()
130 protected java.io.Writer out;
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlSerializer.java5 import java.io.Writer;
101 void setOutput (Writer writer) in setOutput()

123