@Override
    public Feed getCollection(final AtomRequest areq) throws AtomException {
        LOG.debug("getCollection");
        final String[] pathInfo = StringUtils.split(areq.getPathInfo(), "/");
        final String handle = pathInfo[0];
        final String collection = pathInfo[1];
        final FileBasedCollection col = service.findCollectionByHandle(handle, collection);
        return col.getFeedDocument();
    }
@ Override public Feed getCollection ( final AtomRequest areq ) throws AtomException { LOG . debug ( "getCollection" ) ; final String [ ] pathInfo = StringUtils . split ( areq . getPathInfo ( ) , "/" ) ; final String handle = pathInfo [ 0 ] ; final String collection = pathInfo [ 1 ] ; final FileBasedCollection col = service . findCollectionByHandle ( handle , collection ) ; return col . getFeedDocument ( ) ; }
Get collection specified by pathinfo.

@param areq Details of HTTP request
@return ROME feed representing collection.
@throws com.rometools.rome.propono.atom.server.AtomException Invalid collection or other
exception.