public class JIPipeLocalDataBrowser extends Object implements JIPipeDataBrowser, Closeable, AutoCloseable
JIPipeDataBrowser.UpdatedEvent, JIPipeDataBrowser.UpdatedEventEmitter, JIPipeDataBrowser.UpdatedEventListener
Constructor and Description |
---|
JIPipeLocalDataBrowser(JIPipeDataItemStore dataItemStore) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T extends JIPipeData> |
getData(Class<T> klass,
JIPipeProgressInfo progressInfo)
Gets the store for the fully downloaded data
|
Future<String> |
getDataAsDetailedString(JIPipeProgressInfo progressInfo)
Gets the detailed string representation of the data
|
Future<String> |
getDataAsString(JIPipeProgressInfo progressInfo)
Gets the string representation of the data
|
Class<? extends JIPipeData> |
getDataClass()
The data class
|
JIPipeDataBrowser.UpdatedEventEmitter |
getUpdatedEventEmitter()
Gets the emitter for the updated event
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getDataAsDetailedString, getDataAsString, getDataTypeInfo
public JIPipeLocalDataBrowser(JIPipeDataItemStore dataItemStore)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public JIPipeDataBrowser.UpdatedEventEmitter getUpdatedEventEmitter()
JIPipeDataBrowser
getUpdatedEventEmitter
in interface JIPipeDataBrowser
public <T extends JIPipeData> Future<T> getData(Class<T> klass, JIPipeProgressInfo progressInfo)
JIPipeDataBrowser
getData
in interface JIPipeDataBrowser
progressInfo
- the progress info for the downloadpublic Future<String> getDataAsString(JIPipeProgressInfo progressInfo)
JIPipeDataBrowser
getDataAsString
in interface JIPipeDataBrowser
progressInfo
- the progress infopublic Future<String> getDataAsDetailedString(JIPipeProgressInfo progressInfo)
JIPipeDataBrowser
getDataAsDetailedString
in interface JIPipeDataBrowser
progressInfo
- the progress infopublic Class<? extends JIPipeData> getDataClass()
JIPipeDataBrowser
getDataClass
in interface JIPipeDataBrowser
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.