| Package | Description |
|---|---|
| net.lecousin.framework.concurrent.tasks.drives |
Tasks on files or directories.
|
| 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.out2in |
Implementations of IO.OutputToInput.
|
| net.lecousin.framework.io.util |
Utility classes for IO.
|
| Modifier and Type | Method and Description |
|---|---|
long |
FileAccess.seek(IO.Seekable.SeekType type,
long move,
boolean allowAfterEnd) |
Task<Long,IOException> |
FileAccess.seekAsync(IO.Seekable.SeekType type,
long move,
boolean allowAfterEnd,
Consumer<Pair<Long,IOException>> ondone) |
| Modifier and Type | Method and Description |
|---|---|
static IO.Seekable.SeekType |
IO.Seekable.SeekType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IO.Seekable.SeekType[] |
IO.Seekable.SeekType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default AsyncSupplier<Long,IOException> |
IO.Seekable.seekAsync(IO.Seekable.SeekType type,
long move)
Returns the new position.
|
protected AsyncSupplier<Long,IOException> |
SubIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.Readable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.Writable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.ReadWrite.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
LinkedIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
LinkedIO.Readable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
IO.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone)
Returns the new position.
|
AsyncSupplier<Long,IOException> |
FragmentedSubIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
FileIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadOnly.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.WriteOnly.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadWrite.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
static Task<Long,IOException> |
IOUtil.seekAsyncUsingSync(IO.Seekable io,
IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone)
Implement an asynchronous seek using a task calling a synchronous one.
|
protected long |
SubIO.seekSync(IO.Seekable.SeekType type,
long move) |
long |
SubIO.Readable.Seekable.seekSync(IO.Seekable.SeekType type,
long move) |
long |
SubIO.Writable.Seekable.seekSync(IO.Seekable.SeekType type,
long move) |
long |
SubIO.ReadWrite.seekSync(IO.Seekable.SeekType type,
long move) |
protected long |
LinkedIO.seekSync(IO.Seekable.SeekType type,
long move) |
long |
LinkedIO.Readable.Seekable.seekSync(IO.Seekable.SeekType type,
long move) |
long |
IO.Seekable.seekSync(IO.Seekable.SeekType type,
long move)
Returns the new position.
|
long |
FragmentedSubIO.seekSync(IO.Seekable.SeekType type,
long move) |
protected long |
FileIO.seekSync(IO.Seekable.SeekType type,
long move) |
long |
FileIO.ReadOnly.seekSync(IO.Seekable.SeekType type,
long move) |
long |
FileIO.WriteOnly.seekSync(IO.Seekable.SeekType type,
long move) |
long |
FileIO.ReadWrite.seekSync(IO.Seekable.SeekType type,
long move) |
static long |
IOUtil.seekSyncUsingAsync(IO.Seekable io,
IO.Seekable.SeekType type,
long move)
Implement a synchronous sync by calling an asynchronous one and blocking until the result is available.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<Long,IOException> |
OutputToInput.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
long |
OutputToInput.seekSync(IO.Seekable.SeekType type,
long move) |
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<Long,IOException> |
ReadableSeekableToDeterminedSize.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
EmptyReadable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
long |
ReadableSeekableToDeterminedSize.seekSync(IO.Seekable.SeekType type,
long move) |
long |
EmptyReadable.seekSync(IO.Seekable.SeekType type,
long move) |
Copyright © 2019. All rights reserved.