Interface ContractConverter<T>
- Type Parameters:
T- - type to which we want to convert the contract
- All Superinterfaces:
ContractReader<T>, ContractStorer<T>
- Since:
- 1.1.0
- Author:
- Marcin Grzejszczak
-
Method Summary
Modifier and TypeMethodDescriptionconvertFrom(File file) convertTo(Collection<Contract> contract) booleanisAccepted(File file) Should this file be accepted by the converter.Methods inherited from interface ContractReader
readMethods inherited from interface ContractStorer
store
-
Method Details
-
isAccepted
Should this file be accepted by the converter. Can use the file extension to check if the conversion is possible.- Parameters:
file- - file to be considered for conversion- Returns:
- -
trueif the given implementation can convert the file
-
convertFrom
-
convertTo
-