Uses of Class
java.io.Writer
| Package | Description |
|---|---|
| java.io | |
| java.nio.channels | |
| java.sql | |
| java.util | |
| javax.xml.transform.stream | |
| org.apache.xml.serializer |
Processes SAX events into streams.
|
| org.apache.xml.utils |
Implementation of Xalan utility classes.
|
| org.bouncycastle.util.io.pem | |
| org.kxml2.io | |
| org.w3c.dom.ls | |
| org.xmlpull.v1 |
-
Uses of Writer in java.io
Subclasses of Writer in java.io Modifier and Type Class Description classBufferedWriterWraps an existingWriterand buffers the output.classCharArrayWriterA specializedWriterfor class for writing content to an (internal) char array.classFileWriterA specializedWriterthat writes to a file in the file system.classFilterWriterWraps an existingWriterand performs some transformation on the output data while it is being written.classOutputStreamWriterA class for turning a character stream into a byte stream.classPipedWriterPlaces information on a communications pipe.classPrintWriterWraps either an existingOutputStreamor an existingWriterand provides convenience methods for printing common data types in a human readable format.classStringWriterA specializedWriterthat writes characters to aStringBufferin a sequential manner, appending them in the process.Fields in java.io declared as Writer Modifier and Type Field Description protected WriterFilterWriter. outThe Writer being filtered.protected WriterPrintWriter. outThe writer to print data to.Methods in java.io that return Writer Modifier and Type Method Description WriterWriter. append(char c)Appends the charactercto the target.WriterWriter. append(CharSequence csq)Appends the character sequencecsqto the target.WriterWriter. append(CharSequence csq, int start, int end)Appends a subsequence of the character sequencecsqto the target.Methods in java.io with parameters of type Writer Modifier and Type Method Description voidCharArrayWriter. writeTo(Writer out)Writes the contents of thisCharArrayWriterto anotherWriter.Constructors in java.io with parameters of type Writer Constructor Description BufferedWriter(Writer out)Constructs a newBufferedWriter, providingoutwith a buffer of 8192 chars.BufferedWriter(Writer out, int size)Constructs a newBufferedWriter, providingoutwithsizechars of buffer.FilterWriter(Writer out)Constructs a new FilterWriter on the Writerout.PrintWriter(Writer wr)Constructs a newPrintWriterwithwras its target writer.PrintWriter(Writer wr, boolean autoFlush)Constructs a newPrintWriterwithoutas its target writer. -
Uses of Writer in java.nio.channels
Methods in java.nio.channels that return Writer Modifier and Type Method Description static WriterChannels. newWriter(WritableByteChannel channel, String charsetName)Returns a writer that encodes characters with the specifiedencoderand sends the bytes to the specified channel.static WriterChannels. newWriter(WritableByteChannel channel, CharsetEncoder encoder, int minBufferCapacity)Returns a writer that encodes characters with the specifiedencoderand sends the bytes to the specified channel. -
Uses of Writer in java.sql
Methods in java.sql that return Writer Modifier and Type Method Description WriterClob. setCharacterStream(long pos)Retrieves a stream which can be used to write a stream of unicode characters to thisClobobject, at a specified position.WriterSQLXML. setCharacterStream()Returns a writer that can be used to write character data to this SQLXMLobject. -
Uses of Writer in java.util
-
Uses of Writer in javax.xml.transform.stream
Methods in javax.xml.transform.stream that return Writer Modifier and Type Method Description WriterStreamResult. getWriter()Get the character stream that was set with setWriter.Methods in javax.xml.transform.stream with parameters of type Writer Modifier and Type Method Description voidStreamResult. setWriter(Writer writer)Set the writer that is to receive the result.Constructors in javax.xml.transform.stream with parameters of type Writer Constructor Description StreamResult(Writer writer)Construct a StreamResult from a character stream. -
Uses of Writer in org.apache.xml.serializer
Fields in org.apache.xml.serializer declared as Writer Modifier and Type Field Description protected WriterSerializerBase. m_writerThe writer to send output to.Methods in org.apache.xml.serializer that return Writer Modifier and Type Method Description WriterSerializer. getWriter()Get the character stream where the events will be serialized to.WriterToStream. getWriter()Get the character stream where the events will be serialized to.WriterToTextSAXHandler. getWriter()Deprecated.WriterToUnknownStream. getWriter()WriterToXMLSAXHandler. getWriter()Methods in org.apache.xml.serializer with parameters of type Writer Modifier and Type Method Description protected voidToHTMLStream. processAttribute(Writer writer, String name, String value, ElemDesc elemDesc)Process an attribute.voidToHTMLStream. processAttributes(Writer writer, int nAttrs)Process the attributes, which means to write out the currently collected attributes to the writer.voidToStream. processAttributes(Writer writer, int nAttrs)Process the attributes, which means to write out the currently collected attributes to the writer.voidSerializer. setWriter(Writer writer)Specifies a writer to which the document should be serialized.voidToStream. setWriter(Writer writer)Specifies a writer to which the document should be serialized.voidToTextSAXHandler. setWriter(Writer writer)Deprecated.voidToUnknownStream. setWriter(Writer writer)Sets the writer to write tovoidToXMLSAXHandler. setWriter(Writer writer)voidToHTMLStream. writeAttrString(Writer writer, String string, String encoding)Writes the specified string after substituting specials, and UTF-16 surrogates for character references&#xnn.voidToStream. writeAttrString(Writer writer, String string, String encoding)Returns the specified string after substituting specials, and UTF-16 surrogates for chracter references&#xnn.voidToHTMLStream. writeAttrURI(Writer writer, String string, boolean doURLEscaping)Write the specified string after substituting non ASCII characters, with%HH, where HH is the hex of the byte value. -
Uses of Writer in org.apache.xml.utils
Methods in org.apache.xml.utils that return Writer Modifier and Type Method Description WriterDOMBuilder. getWriter()Return null since there is no Writer for this class. -
Uses of Writer in org.bouncycastle.util.io.pem
Subclasses of Writer in org.bouncycastle.util.io.pem Modifier and Type Class Description classPemWriterA generic PEM writer, based on RFC 1421Constructors in org.bouncycastle.util.io.pem with parameters of type Writer Constructor Description PemWriter(Writer out)Base constructor. -
Uses of Writer in org.kxml2.io
Methods in org.kxml2.io with parameters of type Writer Modifier and Type Method Description voidKXmlSerializer. setOutput(Writer writer) -
Uses of Writer in org.w3c.dom.ls
Methods in org.w3c.dom.ls that return Writer Modifier and Type Method Description WriterLSOutput. getCharacterStream()An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output.Methods in org.w3c.dom.ls with parameters of type Writer Modifier and Type Method Description voidLSOutput. setCharacterStream(Writer characterStream)An attribute of a language and binding dependent type that represents a writable stream to which 16-bit units can be output. -
Uses of Writer in org.xmlpull.v1
Methods in org.xmlpull.v1 with parameters of type Writer Modifier and Type Method Description voidXmlSerializer. setOutput(Writer writer)Set the output to the given writer.