deno.land / x / sheetjs@v0.18.3 / demos / altjs / com / sheetjs / SheetJSFile.java

SheetJSFile.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com *//* vim: set ts=2: */package com.sheetjs;
import org.mozilla.javascript.NativeObject;import org.mozilla.javascript.Function;
public class SheetJSFile { public NativeObject wb; public SheetJS sheetjs; public SheetJSFile() {} public SheetJSFile(NativeObject wb, SheetJS sheetjs) { this.wb = wb; this.sheetjs = sheetjs; } public String[] get_sheet_names() { try { return JSHelper.get_string_array("SheetNames", this.wb); } catch(ObjectNotFoundException e) { return null; } } public SheetJSSheet get_sheet(int idx) throws ObjectNotFoundException { return new SheetJSSheet(this, idx); }}

sheetjs

Version Info

Tagged at
2 years ago