org.eclipse.january.io

## Interface ILazySaver

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

      public interface ILazySaver
      extends ILazyLoader

  Used by lazy writeable datasets to write slices to 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
    --- | ---
    `void` | `initialize()` Initialize dataset in file
    `boolean` | `isFileWriteable()`
    `void` | `setSlice(IMonitor mon, IDataset data, SliceND slice)`

    - ### Methods inherited from interface org.eclipse.january.io.ILazyLoader

      `getDataset, isFileReadable`

- - ### Field Detail

    - #### serialVersionUID

          static final long serialVersionUID

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### initialize

          void initialize()
                   throws IOException

      Initialize dataset in file
      Throws:
        `IOException` - when cannot open destination

    - #### isFileWriteable

          boolean isFileWriteable()

      Returns:
        true if file is writeable

    - #### setSlice

          void setSlice(IMonitor mon,
                        IDataset data,
                        SliceND slice)
                 throws IOException

      Parameters:
        `mon` - can be null
        `data` - to use
        `slice` - destination where to set with items of data
      Throws:
        `IOException` - when cannot write data

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