test_class.file: wdtk-dumpfiles/src/test/java/org/wikidata/wdtk/dumpfiles/wmf/WmfDumpFileTest.java
test_class.identifier: WmfDumpFileTest
test_case.body: @Test
  	public void getDumpFileCompressionType() {
  		assertEquals(WmfDumpFile.getDumpFileCompressionType("foo.tar.gz"), CompressionType.GZIP);
  		assertEquals(WmfDumpFile.getDumpFileCompressionType("bar.txt.bz2"), CompressionType.BZ2);
  		assertEquals(WmfDumpFile.getDumpFileCompressionType("baz.txt"), CompressionType.NONE);
  		assertEquals(WmfDumpFile.getDumpFileCompressionType("bat.txt"), CompressionType.NONE);
  	}
test_case.class_method_signature: WmfDumpFileTest.getDumpFileCompressionType()
test_case.full_signature: @Test public void getDumpFileCompressionType()
test_case.identifier: getDumpFileCompressionType
test_case.invocations: assertEquals getDumpFileCompressionType assertEquals getDumpFileCompressionType assertEquals getDumpFileCompressionType assertEquals getDumpFileCompressionType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getDumpFileCompressionType()
focal_class.declarator: DUMP_SITE_BASE_URL = "https://dumps.wikimedia.org/"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String DUMP_SITE_BASE_URL = "https://dumps.wikimedia.org/";
focal_class.type: String
focal_class.var_name: DUMP_SITE_BASE_URL
focal_class.declarator: WEB_DIRECTORY = new HashMap<>()
focal_class.modifier: static final
focal_class.original_string: static final Map<DumpContentType, String> WEB_DIRECTORY = new HashMap<>();
focal_class.type: Map<DumpContentType, String>
focal_class.var_name: WEB_DIRECTORY
focal_class.declarator: POSTFIXES = new HashMap<>()
focal_class.modifier: static final
focal_class.original_string: static final Map<DumpContentType, String> POSTFIXES = new HashMap<>();
focal_class.type: Map<DumpContentType, String>
focal_class.var_name: POSTFIXES
focal_class.declarator: REVISION_DUMP = new HashMap<>()
focal_class.modifier: static final
focal_class.original_string: static final Map<DumpContentType, Boolean> REVISION_DUMP = new HashMap<>();
focal_class.type: Map<DumpContentType, Boolean>
focal_class.var_name: REVISION_DUMP
focal_class.declarator: dateStamp
focal_class.modifier: protected final
focal_class.original_string: protected final String dateStamp;
focal_class.type: String
focal_class.var_name: dateStamp
focal_class.declarator: projectName
focal_class.modifier: protected final
focal_class.original_string: protected final String projectName;
focal_class.type: String
focal_class.var_name: projectName
focal_class.declarator: isDone
focal_class.original_string: Boolean isDone;
focal_class.type: Boolean
focal_class.var_name: isDone
focal_class.file: wdtk-dumpfiles/src/main/java/org/wikidata/wdtk/dumpfiles/wmf/WmfDumpFile.java
focal_class.identifier: WmfDumpFile
focal_class.interfaces: implements MwDumpFile
focal_class.class_method_signature: WmfDumpFile.WmfDumpFile(String dateStamp, String projectName)
focal_class.full_signature: public  WmfDumpFile(String dateStamp, String projectName)
focal_class.identifier: WmfDumpFile
focal_class.modifiers: public
focal_class.parameters: (String dateStamp, String projectName)
focal_class.signature:  WmfDumpFile(String dateStamp, String projectName)
focal_class.class_method_signature: WmfDumpFile.getProjectName()
focal_class.full_signature: @Override public String getProjectName()
focal_class.identifier: getProjectName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProjectName()
focal_class.class_method_signature: WmfDumpFile.getDateStamp()
focal_class.full_signature: @Override public String getDateStamp()
focal_class.identifier: getDateStamp
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDateStamp()
focal_class.class_method_signature: WmfDumpFile.isAvailable()
focal_class.full_signature: @Override public boolean isAvailable()
focal_class.identifier: isAvailable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAvailable()
focal_class.class_method_signature: WmfDumpFile.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: WmfDumpFile.getDumpFileReader()
focal_class.full_signature: @Override public BufferedReader getDumpFileReader()
focal_class.identifier: getDumpFileReader
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BufferedReader
focal_class.signature: BufferedReader getDumpFileReader()
focal_class.class_method_signature: WmfDumpFile.fetchIsDone()
focal_class.full_signature: protected abstract boolean fetchIsDone()
focal_class.identifier: fetchIsDone
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean fetchIsDone()
focal_class.class_method_signature: WmfDumpFile.getDumpFilePostfix(DumpContentType dumpContentType)
focal_class.full_signature: public static String getDumpFilePostfix(DumpContentType dumpContentType)
focal_class.identifier: getDumpFilePostfix
focal_class.modifiers: public static
focal_class.parameters: (DumpContentType dumpContentType)
focal_class.return: String
focal_class.signature: String getDumpFilePostfix(DumpContentType dumpContentType)
focal_class.class_method_signature: WmfDumpFile.getDumpFileWebDirectory(
  			DumpContentType dumpContentType, String projectName)
focal_class.full_signature: public static String getDumpFileWebDirectory(
  			DumpContentType dumpContentType, String projectName)
focal_class.identifier: getDumpFileWebDirectory
focal_class.modifiers: public static
focal_class.parameters: (
  			DumpContentType dumpContentType, String projectName)
focal_class.return: String
focal_class.signature: String getDumpFileWebDirectory(
  			DumpContentType dumpContentType, String projectName)
focal_class.class_method_signature: WmfDumpFile.getDumpFileCompressionType(String fileName)
focal_class.full_signature: public static CompressionType getDumpFileCompressionType(String fileName)
focal_class.identifier: getDumpFileCompressionType
focal_class.modifiers: public static
focal_class.parameters: (String fileName)
focal_class.return: CompressionType
focal_class.signature: CompressionType getDumpFileCompressionType(String fileName)
focal_class.class_method_signature: WmfDumpFile.getDumpFileDirectoryName(
  			DumpContentType dumpContentType, String dateStamp)
focal_class.full_signature: public static String getDumpFileDirectoryName(
  			DumpContentType dumpContentType, String dateStamp)
focal_class.identifier: getDumpFileDirectoryName
focal_class.modifiers: public static
focal_class.parameters: (
  			DumpContentType dumpContentType, String dateStamp)
focal_class.return: String
focal_class.signature: String getDumpFileDirectoryName(
  			DumpContentType dumpContentType, String dateStamp)
focal_class.class_method_signature: WmfDumpFile.getDateStampFromDumpFileDirectoryName(
  			DumpContentType dumpContentType, String directoryName)
focal_class.full_signature: public static String getDateStampFromDumpFileDirectoryName(
  			DumpContentType dumpContentType, String directoryName)
focal_class.identifier: getDateStampFromDumpFileDirectoryName
focal_class.modifiers: public static
focal_class.parameters: (
  			DumpContentType dumpContentType, String directoryName)
focal_class.return: String
focal_class.signature: String getDateStampFromDumpFileDirectoryName(
  			DumpContentType dumpContentType, String directoryName)
focal_class.class_method_signature: WmfDumpFile.getDumpFileName(DumpContentType dumpContentType,
  			String projectName, String dateStamp)
focal_class.full_signature: public static String getDumpFileName(DumpContentType dumpContentType,
  			String projectName, String dateStamp)
focal_class.identifier: getDumpFileName
focal_class.modifiers: public static
focal_class.parameters: (DumpContentType dumpContentType,
  			String projectName, String dateStamp)
focal_class.return: String
focal_class.signature: String getDumpFileName(DumpContentType dumpContentType,
  			String projectName, String dateStamp)
focal_class.class_method_signature: WmfDumpFile.isRevisionDumpFile(DumpContentType dumpContentType)
focal_class.full_signature: public static boolean isRevisionDumpFile(DumpContentType dumpContentType)
focal_class.identifier: isRevisionDumpFile
focal_class.modifiers: public static
focal_class.parameters: (DumpContentType dumpContentType)
focal_class.return: boolean
focal_class.signature: boolean isRevisionDumpFile(DumpContentType dumpContentType)
focal_method.body: public static CompressionType getDumpFileCompressionType(String fileName) {
  		if (fileName.endsWith(".gz")) {
  			return CompressionType.GZIP;
  		} else if (fileName.endsWith(".bz2")) {
  			return CompressionType.BZ2;
  		} else {
  			return CompressionType.NONE;
  		}
  	}
focal_method.class_method_signature: WmfDumpFile.getDumpFileCompressionType(String fileName)
focal_method.full_signature: public static CompressionType getDumpFileCompressionType(String fileName)
focal_method.identifier: getDumpFileCompressionType
focal_method.invocations: endsWith endsWith
focal_method.modifiers: public static
focal_method.parameters: (String fileName)
focal_method.return: CompressionType
focal_method.signature: CompressionType getDumpFileCompressionType(String fileName)