Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to name the import / export packages in Java?

I have an export / import routine which becomes bigger and I decided to split up the packages into two smaller.

I tried to use org.yourcompany.business.export ...works fine! Unfortunately the opposite package with the name org.yourcompany.business.import is not possible to use due to the reserved keyword import in Java.

How do you name your import / export packages?

Thank you!

like image 828
Christopher Klewes Avatar asked Mar 03 '11 10:03

Christopher Klewes


1 Answers

We're using exporter/importer.

Or maybe you want to use something like exchange.in and exchange.out, since that's normally the purpose of an importer/exporter - to exchange data.

like image 151
Thomas Avatar answered Oct 20 '22 13:10

Thomas