Package com.day.cq.commons.feed
Class StringResponseWrapper.AtomFeedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- javax.servlet.ServletOutputStream
-
- com.day.cq.commons.feed.StringResponseWrapper.AtomFeedOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- StringResponseWrapper
public class StringResponseWrapper.AtomFeedOutputStream extends ServletOutputStream
TheAtomFeedOutputStream
allows for deferring the data to anotherOutputStream
.
-
-
Constructor Summary
Constructors Constructor Description AtomFeedOutputStream(java.io.OutputStream out)
Creates a newAtomFeedOutputStream
using the specified output stream to write the data to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
-