| Package | Description |
|---|---|
| net.lecousin.framework.io |
New java Input/Output model adding more flexibility and asynchronous operations.
|
| net.lecousin.framework.io.buffering |
IO with bufferization.
|
| net.lecousin.framework.io.util |
Utility classes for IO.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IOFromInputStream
Implements Readable from an InputStream.
|
static class |
IOFromInputStream.KnownSize
Add the capability to get the size to IOFromInputStream.
|
class |
IOFromOutputStream
Implements Writable from an OutputStream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayIO
IO implemented with a single byte array.
|
class |
ByteBuffersIO
Implementation of IO using a list of byte array.
|
class |
IOInMemoryOrFile
Store data first in memory, then if exceeding a given amount of memory, store the remaining
data in a file.
This can be used when the amount of data is not known, and we want to keep good performance with small data (all in memory), but do not allocate too much memory when having large data. A typical usage is when a server is receiving an uploaded file, and the size is not known in advance. This IO is writable and readable: the written data are readable. |
class |
MemoryIO
Implementation of a seekable readable and writable IO, using an array of byte array.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyReadable
Implement an empty Readable IO, with Buffered, Seekable and KnownSize capabilities.
|
Copyright © 2019. All rights reserved.