IScellCoreApiFactory - IWorkbook creation, getting API info
IScellCoreApiFactory - is a SCell Core API main entry point.
Functionality:
- IWorkbook createNew()- creates a new spreadsheet document
- IWorkbook load(File file)- loads an xlsx-document from file
- IWorkbook load(File file, Supplier<String> passwordSupplier)- loads an xlsx-document from file
- IWorkbook load(InputStream inputStream, Supplier<String> passwordSupplier, String title)- loads an xlsx-document from input stream
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("license").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.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("license").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();
    }
}
 https://scalable-components.com
 https://scalable-components.com Maven
 Maven