Uses of Interface
org.wikidata.wdtk.util.DirectoryManager
Packages that use 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
Constructors in org.wikidata.wdtk.dumpfiles.wmf with parameters of type DirectoryManagerModifierConstructorDescriptionJsonOnlineDumpFile
(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
Classes in org.wikidata.wdtk.testing that implement DirectoryManagerModifier and TypeClassDescriptionclass
Mock implementation ofDirectoryManager
that simulates file access without touching the file system.Methods in org.wikidata.wdtk.testing that return DirectoryManagerModifier and TypeMethodDescriptionMockDirectoryManager.getSubdirectoryManager
(String subdirectoryName) -
Uses of DirectoryManager in org.wikidata.wdtk.util
Classes in org.wikidata.wdtk.util that implement DirectoryManagerModifier and TypeClassDescriptionclass
Class to read and write files from one directory.Methods in org.wikidata.wdtk.util that return DirectoryManagerModifier 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) Method parameters in org.wikidata.wdtk.util with type arguments of type DirectoryManagerModifier and TypeMethodDescriptionstatic void
DirectoryManagerFactory.setDirectoryManagerClass
(Class<? extends DirectoryManager> clazz) Sets the class ofDirectoryManager
that should be used when creating instances here.