Class InputStreamStore

java.lang.Object
io.xpipe.core.impl.InputStreamStore
All Implemented Interfaces:
DataStore, StreamDataStore

public class InputStreamStore extends Object implements StreamDataStore
A data store that is only represented by an InputStream.
  • Constructor Details

    • InputStreamStore

      public InputStreamStore(InputStream in)
  • Method Details

    • openInput

      public InputStream openInput()
      Description copied from interface: StreamDataStore
      Opens an input stream that can be used to read its data.
      Specified by:
      openInput in interface StreamDataStore
    • getFlow

      public DataFlow getFlow()
      Specified by:
      getFlow in interface DataStore
    • canOpen

      public boolean canOpen()
      Description copied from interface: DataStore
      Checks whether this store can be opened. This can be not the case for example if the underlying store does not exist.
      Specified by:
      canOpen in interface DataStore