The incident happened in the Corrigan's Court area on Saturday morning.
Police said the victim was assaulted by two men.
It is understood the 27-year-old man's injuries are not life-threatening.

The Californian rock band were performing when four Islamist militants stormed the Bataclan concert hall on 13 November, killing 89 fans there.
The Bataclan has been closed since the attack and the band are playing at the city's Olympia Theatre.
The raid on the concert was one of seven co-ordinated attacks across Paris, killing 130 people.
Band frontman Jesse Hughes said earlier that, despite the massacre, he had not changed his pro-gun views.
In an interview with French news TV news channel iTELE on Monday, Hughes spoke of the "overwhelming" support the band had received.
"There's been just such an outpouring of support for us and love for us. It's overwhelming," he told presenter Laurence Ferrari.
"I just don't want to let anyone down."
Crowds of mourners left tributes and messages, including poems, flowers and photos of the victims at the Bataclan and various sites that were targeted across the French capital.
Bands, including U2, cancelled their gigs following the attacks as a mark of respect.
Ferrari went on to ask if the trauma Hughes and others experienced had changed his views on gun control, Hughes, who has previously declared his support for the right to bear arms in the US, said he believed everyone should be armed.
"I think the only way that my mind has been changed is that maybe until nobody has guns everybody has to have them.
"Because I don't ever want to see anything like this ever happen again and I want everyone to have the best chance to live and I saw people die that maybe could have lived,'' he said.
"I wish I knew for sure if they could have had a better chance because there were some real angels, real wonderful people in that show that aren't alive today and I really wish they were.''
Concert-goers were trapped in the venue before police stormed the building, shooting one gunman dead.
Eagles of Death Metal band members were unhurt but a Briton selling merchandise at the gig, was among those killed. In total, 130 people died and 350 were wounded in the attacks that took place across Paris.
The band were playing in the French capital as part of a European tour but cut the tour short and returned to the US.
Speaking about Tuesday's concert, Hughes told Itele: "I think that's what we really need to do is just have fun together so that we can put some of this... behind us and really leave it there so it doesn't follow us around for the rest of our lives."

He told MSPs that the operators of Prestwick Airport had a bid team in place.
The owners of Campbeltown airfield were also interested in attracting the venture.
Stornoway, Newquay and Llanbedr are also on a UK government shortlist of potential sites.
RAF Leuchars has been identified as a potential temporary facility.
Ministers are keen to see the spaceport established by 2018. It would be used to launch commercial flights and satellites into space.
Speaking in the Scottish Parliament, Mr Brown said the Scottish government "was keen" to see the port built in Scotland.
He said: "I am aware Glasgow Prestwick Airport is making considerable progress.
"It has a bid team in place and is working with a range of local and national partners to develop its proposal."
Mr Brown added: "The owners of Campbeltown air base are also interested in progressing a bid."
Campbeltown is a former military air base and part of the site is used by Highlands and Islands Airports Limited (Hial).
Earlier this month, the leader of the council in the Western Isles said Stornoway had "critical features" that made it the "ideal location" for a spaceport.
Angus Campbell, of Comhairle nan Eilean Siar, said Lewis's geography and access to research and development facilities were suited to a facility.
Hial, which operates Stornoway Airport, said it would potentially support a venture.
A 27-year-old man has been arrested in Armagh in connection with the stabbing of a 24-year-old man in the city.
[NEXT_CONCEPT]
Eagles of Death Metal have appeared on stage in Paris to "resume their gig" three months being attacked there.
[NEXT_CONCEPT]
Two Scottish airports are actively bidding to host the UK's first spaceport, according to Infrastructure Secretary Keith Brown.