Uses of Interface
org.wikidata.wdtk.util.DirectoryManager
Package
Description
Code that is specific to the dump file exports of the Wikimedia Foundation (WMF).
Package for general helper code that is only used for testing purposes.
General utility package for Wikidata Toolkit.
-
Uses of DirectoryManager in org.wikidata.wdtk.dumpfiles.wmf
ModifierConstructorDescriptionJsonOnlineDumpFile
(String dateStamp, String projectName, WebResourceFetcher webResourceFetcher, DirectoryManager dumpfileDirectoryManager) Constructor.WmfDumpFileManager
(String projectName, DirectoryManager downloadDirectoryManager, WebResourceFetcher webResourceFetcher) Constructor.WmfLocalDumpFile
(String dateStamp, String projectName, DirectoryManager dumpfileDirectoryManager, DumpContentType dumpContentType) Constructor.WmfOnlineStandardDumpFile
(String dateStamp, String projectName, WebResourceFetcher webResourceFetcher, DirectoryManager dumpfileDirectoryManager, DumpContentType dumpContentType) Constructor. -
Uses of DirectoryManager in org.wikidata.wdtk.testing
Modifier and TypeClassDescriptionclass
Mock implementation ofDirectoryManager
that simulates file access without touching the file system.Modifier and TypeMethodDescriptionMockDirectoryManager.getSubdirectoryManager
(String subdirectoryName) -
Uses of DirectoryManager in org.wikidata.wdtk.util
Modifier and TypeClassDescriptionclass
Class to read and write files from one directory.Modifier and TypeMethodDescriptionstatic DirectoryManager
DirectoryManagerFactory.createDirectoryManager
(String directory, boolean readOnly) Creates a newDirectoryManager
for the given directory.static DirectoryManager
DirectoryManagerFactory.createDirectoryManager
(Path path, boolean readOnly) Creates a newDirectoryManager
for the given directory path.DirectoryManager.getSubdirectoryManager
(String subdirectoryName) Returns a new directory manager for the subdirectory of the given name.DirectoryManagerImpl.getSubdirectoryManager
(String subdirectoryName) Modifier and TypeMethodDescriptionstatic void
DirectoryManagerFactory.setDirectoryManagerClass
(Class<? extends DirectoryManager> clazz) Sets the class ofDirectoryManager
that should be used when creating instances here.