IScellCoreApiFactory - IWorkbook creation, getting API info

IScellCoreApiFactory - is a SCell Core API main entry point.

Functionality:

import com.intechcore.scomponents.scell.api.init.ScellApiEntryPoint;
import com.intechcore.scomponents.scell.api.spreadsheet.IScellCoreApiFactory;
import com.intechcore.scomponents.scell.api.spreadsheet.model.IWorkbook;

import java.io.File;
import java.util.concurrent.CompletableFuture;

public class TestApp {
    public static void main(String[] args) {
        ScellApiEntryPoint.getApiResolverAsync().thenAccept(resolver -> {
            IScellCoreApiFactory apiFactory = resolver.resolve(IScellCoreApiFactory.class);
            IWorkbook existingWorkbook = apiFactory.load(new File("/path/to/existing/file.xlsx"));
            // ...
        }).whenComplete((unused, throwable) -> {
            if (throwable != null) {
                System.out.println(throwable.getMessage());
            }
        }).join();
    }
}

To get SCell Public API information call getProductInfo():

import com.intechcore.scomponents.scell.api.IScellApiResolver;
import com.intechcore.scomponents.scell.api.init.ScellApiEntryPoint;
import com.intechcore.scomponents.scell.api.spreadsheet.IScellCoreApiFactory;
import com.intechcore.scomponents.scell.api.spreadsheet.model.data.IProductInfo;

import java.util.concurrent.CompletableFuture;

public class TestApp {
    public static void main(String[] args) {
        ScellApiEntryPoint.getApiResolverAsync().thenAccept(resolver -> {
            IScellCoreApiFactory coreApiProvider = resolver.resolve(IScellCoreApiFactory.class); // Core API entry point

            IProductInfo productInfo = coreApiProvider.getProductInfo();

            System.out.println("Core API interfaces version: " + productInfo.coreInterfaces(IProductInfo.ProductInfo.VERSION));
            System.out.println("Core API implementation version: " + productInfo.coreImpl(IProductInfo.ProductInfo.VERSION));
            System.out.println("UI API interfaces version: " + productInfo.uiInterfaces(IProductInfo.ProductInfo.VERSION));
            System.out.println("UI API implementation version: " + productInfo.uiImpl(IProductInfo.ProductInfo.VERSION));
            System.out.println("Core API implementation build number: " + productInfo.coreImpl(IProductInfo.ProductInfo.VERSION));
        }).whenComplete((unused, throwable) -> {
            if (throwable != null) {
                System.out.println(throwable.getMessage());
            }
        }).join();
    }
}

Next - IWorkbook