/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
WriterToASCI.java | 25 import java.io.Writer; 39 class WriterToASCI extends Writer implements WriterChain 46 * Create an unbuffered ASCII writer. 140 * @return reference to the result stream, or null of only a writer was 149 * Get the writer that this writer directly chains to. 151 public Writer getWriter()
|
SerializerTraceWriter.java | 25 import java.io.Writer; 28 * This class wraps the real writer, it only purpose is to send 30 * Each method immediately sends the call to the wrapped writer unchanged, but 34 * listener knows what characters have been written to the output Writer. 37 * output writer and what is really going there. These differences will be due 39 * and the underlying writer may not be UTF-8 encoding. There may also be 45 final class SerializerTraceWriter extends Writer implements WriterChain 48 /** The real writer to immediately write to. 52 private final java.io.Writer m_writer; 88 * If the writer passed in is null, then this SerializerTraceWriter wil [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLWriter.java | 12 import java.io.Writer; 30 public HTMLWriter (final Writer out) 116 private Writer m_out;
|
/external/proguard/src/proguard/io/ |
DataEntryRewriter.java | 58 Writer writer = new BufferedWriter(new OutputStreamWriter(outputStream)); local 60 copyData(reader, writer); 62 writer.flush(); 69 * writer. 72 Writer writer) 97 writeUpdatedWord(writer, word.toString()); 101 writer.write(c); 106 writeUpdatedWord(writer, word.toString()) [all...] |
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
AndroidDebugger.java | 13 import java.io.Writer; 38 private Writer writer; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 45 this.writer = writer; 66 // Create a special Writer that wraps the main Writer and logs data to the GUI. 67 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/external/smack/src/de/measite/smack/ |
AndroidDebugger.java | 13 import java.io.Writer; 38 private Writer writer; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 45 this.writer = writer; 66 // Create a special Writer that wraps the main Writer and logs data to the GUI. 67 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/external/smack/src/org/jivesoftware/smack/debugger/ |
ConsoleDebugger.java | 27 import java.io.Writer; 52 private Writer writer; field in class:ConsoleDebugger 57 public ConsoleDebugger(Connection connection, Writer writer, Reader reader) { 59 this.writer = writer; 80 // Create a special Writer that wraps the main Writer and logs data to the GUI. 81 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IndentingWriter.java | 21 import java.io.Writer; 24 * Writer that wraps another writer and passes width-limited and 51 * @param out {@code non-null;} writer to send final output to 56 public IndentingWriter(Writer out, int width, String prefix) { 81 * @param out {@code non-null;} writer to send final output to 85 public IndentingWriter(Writer out, int width) {
|
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 21 import java.io.Writer; 24 * Writer that wraps another writer and passes width-limited and 51 * @param out {@code non-null;} writer to send final output to 56 public IndentingWriter(Writer out, int width, String prefix) { 81 * @param out {@code non-null;} writer to send final output to 85 public IndentingWriter(Writer out, int width) {
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
IndentingWriter.java | 21 import java.io.Writer; 24 * Writer that wraps another writer and passes width-limited and 51 * @param out {@code non-null;} writer to send final output to 56 public IndentingWriter(Writer out, int width, String prefix) { 81 * @param out {@code non-null;} writer to send final output to 85 public IndentingWriter(Writer out, int width) {
|
/external/smack/src/org/jivesoftware/smack/util/ |
ObservableWriter.java | 27 * An ObservableWriter is a wrapper on a Writer that notifies to its listeners when 32 public class ObservableWriter extends Writer { 34 Writer wrappedWriter = null; 37 public ObservableWriter(Writer wrappedWriter) { 93 * Adds a writer listener to this writer that will be notified when 96 * @param writerListener a writer listener. 110 * Removes a writer listener from this writer. 112 * @param writerListener a writer listener [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
IndentingWriter.java | 29 import java.io.Writer; 32 * Writer that wraps another writer and passes width-limited and 59 * @param out non-null; writer to send final output to 64 public IndentingWriter(Writer out, int width, String prefix) { 89 * @param out non-null; writer to send final output to 93 public IndentingWriter(Writer out, int width) {
|
/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 20 import java.io.Writer; 47 public IndentingPrintWriter(Writer writer, String singleIndent) { 48 this(writer, singleIndent, -1); 51 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { 52 super(writer);
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
SmilXmlSerializer.java | 25 import java.io.Writer; 36 Writer writer = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"), 2048); local 38 writeElement(writer, smilDoc.getDocumentElement()); 39 writer.flush(); 47 private static void writeElement(Writer writer, Element element) 49 writer.write('<'); 50 writer.write(element.getTagName()); 56 writer.write(" " + attribute.getName()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
WriterTest.java | 19 import java.io.Writer; 26 * @tests java.io.Writer#append(char) 30 MockWriter writer = new MockWriter(20); local 31 writer.append(testChar); 32 assertEquals(String.valueOf(testChar), String.valueOf(writer 34 writer.close(); 38 * @tests java.io.Writer#append(CharSequence) 42 MockWriter writer = new MockWriter(20); local 43 writer.append(testString); 44 assertEquals(testString, String.valueOf(writer.getContents())) 54 MockWriter writer = new MockWriter(20); local [all...] |
/external/chromium_org/v8/src/ |
gdb-jit.cc | 59 class Writer BASE_EMBEDDED { 61 explicit Writer(DebugObject* debug_object) 68 ~Writer() { 79 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } 94 Writer* w_; 197 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { 198 uintptr_t start = writer->position(); 199 if (WriteBodyInternal(writer)) { [all...] |
/external/v8/src/ |
gdb-jit.cc | 57 class Writer BASE_EMBEDDED { 59 explicit Writer(DebugObject* debug_object) 66 ~Writer() { 77 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } 92 Writer* w_; 195 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { 196 uintptr_t start = writer->position(); 197 if (WriteBody(writer)) { [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer { 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 63 * Flush this Writer. This is the concrete implementation required. This
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 15 import java.io.Writer; 29 Writer writer = null; local 31 writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); 32 writer.write("<html><meta charset=\"UTF-8\" />" + 39 if (writer != null) { 40 writer.close();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
RawResourceLoaderTest.java | 15 import java.io.Writer; 44 Writer writer = new StringWriter(); local 50 writer.write(buffer, 0, n); 55 return writer.toString();
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleWriter.java | 4 import java.io.Writer; 12 public class Support_ASimpleWriter extends Writer {
|
Support_StringWriter.java | 21 import java.io.Writer; 23 public class Support_StringWriter extends Writer { 29 * <code>lock</code> used to synchronize access to this Writer. 40 * the <code>lock</code> used to synchronize access to this Writer. 52 * Close this Writer. This is the concrete implementation required. This 63 * Flush this Writer. This is the concrete implementation required. This
|
/external/marisa-trie/lib/marisa/ |
intvector.cc | 99 Writer writer; local 100 writer.open(filename, trunc_flag, offset, whence); 101 write(writer); 105 Writer writer(file); 106 write(writer); 110 Writer writer(fd); 111 write(writer); [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
intvector.cc | 99 Writer writer; local 100 writer.open(filename, trunc_flag, offset, whence); 101 write(writer); 105 Writer writer(file); 106 write(writer); 110 Writer writer(fd); 111 write(writer); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
FileWriterWithEncoding.java | 24 import java.io.Writer;
32 * Writer of files that allows the encoding to be set.
50 public class FileWriterWithEncoding extends Writer {
51 // Cannot extend ProxyWriter, as requires writer to be
54 /** The writer to decorate. */
55 private final Writer out;
212 * Initialise the wrapped file writer.
213 * Ensure that a cleanup occurs if the writer creation fails.
218 * @return the initialised writer
222 private static Writer initWriter(File file, Object encoding, boolean append) throws IOException { 231 Writer writer = null; local [all...] |