@ Override public void deleteEntry ( final AtomRequest areq ) throws AtomException { LOG . debug ( "deleteEntry" ) ; final String [ ] pathInfo = StringUtils . split ( areq . getPathInfo ( ) , "/" ) ; final String handle = pathInfo [ 0 ] ; final String collection = pathInfo [ 1 ] ; final String fileName = pathInfo [ 2 ] ; final FileBasedCollection col = service . findCollectionByHandle ( handle , collection ) ; try { col . deleteEntry ( fileName ) ; } catch ( final Exception e ) { final String msg = "ERROR in atom.deleteResource" ; LOG . error ( msg , e ) ; throw new AtomException ( msg ) ; } }
Delete entry specified by pathInfo .