The Sri Lankan unit of a Leicester-based knitwear firm has bought the manufacturing arms of Edinburgh Woollen Mills for an undisclosed sum.