juzu.io
Class ChunkBuffer
java.lang.Object
juzu.io.ChunkBuffer
- All Implemented Interfaces:
- Appendable, Streamable
public class ChunkBuffer
- extends Object
- implements Streamable, Appendable
- Author:
- Julien Viet
ChunkBuffer
public ChunkBuffer()
ChunkBuffer
public ChunkBuffer(Thread.UncaughtExceptionHandler errorHandler)
append
public Appendable append(CharSequence csq)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public Appendable append(CharSequence csq,
int start,
int end)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public Appendable append(char c)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public ChunkBuffer append(Iterable<Chunk> chunks)
append
public ChunkBuffer append(Chunk chunk)
send
public void send(Stream stream)
- Description copied from interface:
Streamable
- Send the chunks to the stream.
- Specified by:
send in interface Streamable
- Parameters:
stream - the stream
close
public ChunkBuffer close()
Copyright © 2014 eXo Platform SAS. All rights reserved.