private String getPagesArticlesFile ( ) { String pagesArticlesFile = null ; String parseMessage = null ; //Use of minimal dump only with articles if ( files . getInputPagesArticles ( ) != null ) { pagesArticlesFile = files . getInputPagesArticles ( ) ; parseMessage = "Discussions are unavailable" ; } //Use of dump with discussions if ( files . getInputPagesMetaCurrent ( ) != null ) { pagesArticlesFile = files . getInputPagesMetaCurrent ( ) ; parseMessage = "Discussions are available" ; } logger . log ( parseMessage ) ; return pagesArticlesFile ; }
Parse either pages - articles . xml or pages - meta - current . xml . If both files exist in the input directory pages - meta - current . xml will be favored .