juzu.io
Class AsyncStreamable
java.lang.Object
juzu.io.AsyncStreamable
- All Implemented Interfaces:
- Appendable, Streamable<Stream.Char>
public class AsyncStreamable
- extends Object
- implements Streamable<Stream.Char>, Appendable
Basic implementation of an asynchronous streamable. This implementation is basic for now:
- Use synchronized blocks.
- Does not do any kind of control flow.
- Author:
- Julien Viet
AsyncStreamable
public AsyncStreamable()
send
public void send(Stream.Char stream)
throws IOException
- Specified by:
send in interface Streamable<Stream.Char>
- Throws:
IOException
append
public AsyncStreamable append(CharSequence csq)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public AsyncStreamable append(CharSequence csq,
int start,
int end)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public AsyncStreamable append(char c)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
close
public void close()
Copyright © 2013 eXo Platform SAS. All Rights Reserved.