org.eclipse.january.io

## Interface ILazyLoader

- All Superinterfaces:
    Serializable
  All Known Subinterfaces:
    ILazyAsyncSaver, ILazySaver

      public interface ILazyLoader
      extends Serializable

  Used by lazy datasets to read slices from a file

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static long` | `serialVersionUID`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IDataset` | `getDataset(IMonitor mon, SliceND slice)`
    `boolean` | `isFileReadable()`

- - ### Field Detail

    - #### serialVersionUID

          static final long serialVersionUID

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### isFileReadable

          boolean isFileReadable()

      Returns:
        true if file is readable

    - #### getDataset

          IDataset getDataset(IMonitor mon,
                              SliceND slice)
                       throws IOException

      Parameters:
        `mon` - can be null
        `slice` - source where items of data fetched
      Returns:
        a slice of a dataset
      Throws:
        `IOException` - when cannot retrieve data

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.