lundi 7 janvier 2019

API for easy to extend or override

I am developing a simple API which can allow clients to read a different type of file and save the content to the database in JAVA.

At the beginning it only supports CSV. I want to make the API easy to extend if the client they want to write their own implementation to read the CSV file or other types of files.

Which design patterns I should use to achieve this purpose?

Aucun commentaire:

Enregistrer un commentaire