| Package | Description |
|---|---|
| net.lecousin.framework.adapter |
Adapters can obtain an instance of a type from another type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileInfoToFile
Return the File contained in a FileInfo.
|
class |
FileInfoToPath
Return the Path contained in a FileInfo.
|
static class |
FileToIO.Readable
Convert a File into an IO.Readable by opening it.
|
static class |
FileToIO.Writable
Convert a File into an IO.Writable by opening it.
|
class |
LinkedAdapter
Link several adapters to create a new one, adapting step by step the input to create the final output.
|
| Modifier and Type | Method and Description |
|---|---|
<Input,Output> |
AdapterRegistry.findAdapter(Object in,
Class<Input> input,
Class<Output> output)
Search for an adapter.
|
| Modifier and Type | Method and Description |
|---|---|
Class<Adapter> |
AdapterRegistry.getPluginClass() |
Collection<Adapter> |
AdapterRegistry.getPlugins() |
| Modifier and Type | Method and Description |
|---|---|
void |
AdapterRegistry.addPlugin(Adapter plugin) |
| Constructor and Description |
|---|
LinkedAdapter(LinkedList<Adapter> list)
Create a linked adapter.
|
Copyright © 2019. All rights reserved.