- getAvgCpuTime() - Method in class org.wikidata.wdtk.util.Timer
-
Return the average CPU time across all measurements.
- getAvgWallTime() - Method in class org.wikidata.wdtk.util.Timer
-
Return the average wall clock time across all measurements.
- getCompressorInputStream(InputStream, CompressionType) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
Returns an input stream that applies the required decompression to the
given input stream.
- getInputStreamForFile(String, CompressionType) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns an input stream to access file of the given name within the
current directory, possibly uncompressing it if required.
- getInputStreamForFile(String, CompressionType) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
- getInputStreamForUrl(String) - Method in interface org.wikidata.wdtk.util.WebResourceFetcher
-
Returns an InputStream for the document at the given URL.
- getInputStreamForUrl(String) - Method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
- getName() - Method in class org.wikidata.wdtk.util.Timer
-
Get the string name of the timer.
- getNamedTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name that takes all possible times
(todos) for the current thread.
- getNamedTimer(String, int) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name and todos for the current thread.
- getNamedTimer(String, int, long) - Static method in class org.wikidata.wdtk.util.Timer
-
Get a timer of the given string name for the given thread.
- getNamedTotalTimer(String) - Static method in class org.wikidata.wdtk.util.Timer
-
Collect the total times measured by all known named timers of the given
name.
- getOutputStreamForFile(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Opens and returns an output stream that can be used to write to the file
of the given name within the current directory.
- getOutputStreamForFile(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
- getProxy() - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Returns the proxy that will be used for all requests made by Wikidata
Toolkit.
- getSubdirectories(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns a list of the names of all subdirectories of the base directory.
- getSubdirectories(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
- getSubdirectoryManager(String) - Method in interface org.wikidata.wdtk.util.DirectoryManager
-
Returns a new directory manager for the subdirectory of the given name.
- getSubdirectoryManager(String) - Method in class org.wikidata.wdtk.util.DirectoryManagerImpl
-
- getThreadId() - Method in class org.wikidata.wdtk.util.Timer
-
Get the ID of the thread for which this timer was created.
- getTotalCpuTime() - Method in class org.wikidata.wdtk.util.Timer
-
Get the total recorded CPU time in nanoseconds.
- getTotalWallTime() - Method in class org.wikidata.wdtk.util.Timer
-
Get the total recorded wall clock time in nanoseconds.
- getUrlConnection(URL) - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Opens a basic URL connection for the given URL and performs basic
configurations.
- getUserAgent() - Static method in class org.wikidata.wdtk.util.WebResourceFetcherImpl
-
Returns the string that will be used to identify the user agent on all
requests made by Wikidata Toolkit.
- GZIP - org.wikidata.wdtk.util.CompressionType
-