public static String getDumpFilePostfix ( DumpContentType dumpContentType ) { if ( WmfDumpFile . POSTFIXES . containsKey ( dumpContentType ) ) { return WmfDumpFile . POSTFIXES . get ( dumpContentType ) ; } else { throw new IllegalArgumentException ( "Unsupported dump type " + dumpContentType ) ; } }
Returns the ending used by the Wikimedia - provided dumpfile names of the given type .