Finds the names (which are dates in format YYYYMMDD) of dump directories for the language.
Finds the names (which are dates in format YYYYMMDD) of dump directories for the language.
suffix Return only directories that contain a file with this suffix, e.g. "download-complete" -> "baseDir/enwiki/20120403/enwiki-20120403-download-complete". May be null, in which case we just look for date directories.
dates in ascending order
date directory for language, e.g.
date directory for language, e.g. "20120403" -> "baseDir/enwiki/20120403"
File with given name suffix in date directory for language, e.g.
File with given name suffix in date directory for language, e.g. "pages-articles.xml" -> "baseDir/enwiki/20120403/enwiki-20120403-pages-articles.xml"
File with given name suffix in main directory for language, e.g.
File with given name suffix in main directory for language, e.g. "download-running" -> "baseDir/enwiki/enwiki-download-running"
files in ascending date order
Files which match the supplied pattern in data directory for language.
Files which match the supplied pattern in data directory for language. Files are sorted by size (descending)
Directory for language, e.g.
Directory for language, e.g. "baseDir/enwiki"
directory name/file prefix for language, e.g.
directory name/file prefix for language, e.g. "en" -> "enwiki"
Helps to find files and directories in a directory structure as used by the Wikipedia dump download site, for example baseDir/enwiki/20120403/enwiki-20120403-pages-articles.xml.bz2
TODO: wikiNameSuffix doesn't belong here, it should be part of the Language class (which should be renamed to WikiCode or so)