Thread maker Amann is to close its plant in Tralee, in the south west of Ireland, by mid-2010 with the loss of all 340 jobs.