Package | Description |
---|---|
bayou.file |
Utilities for files.
|
Modifier and Type | Method and Description |
---|---|
static FileByteSource.ChannelProvider |
FileByteSource.ChannelProvider.pooled(Path file)
Create a pooled ChannelProvider that may return a shared file channel.
|
static FileByteSource.ChannelProvider |
FileByteSource.ChannelProvider.simple(Path file)
Create a simple ChannelProvider that opens/closes a file channel straightforwardly.
|
Constructor and Description |
---|
FileByteSource(FileByteSource.ChannelProvider channelProvider)
Create a FileByteSource.
|