T - - type to which we want to convert the contractpublic interface ContractConverter<T> extends ContractStorer<T>, ContractReader<T>
| Modifier and Type | Method and Description |
|---|---|
Collection<Contract> |
convertFrom(File file)
|
T |
convertTo(Collection<Contract> contract)
Converts the given
Contract to a T representation. |
boolean |
isAccepted(File file)
Should this file be accepted by the converter.
|
storereadboolean isAccepted(File file)
file - - file to be considered for conversiontrue if the given implementation can convert the fileCollection<Contract> convertFrom(File file)
file - - file to convertContract representation of the fileT convertTo(Collection<Contract> contract)
Contract to a T representation.contract - - the parsed contractT the type to which we do the conversionCopyright © 2016–2020 Spring. All rights reserved.