接口 ITables

所有超级接口:
Iterable<ITable>

public interface ITables extends Iterable<ITable>
Represents a collection of all the ITable objects on a worksheet.Each ITable object represents a list in the worksheet.
  • 方法概要

    修饰符和类型
    方法
    说明
    add(IRange range)
    Creates a table that includes the specified range of cells and returns the newly created object.
    add(IRange range, boolean containsHeader)
    Creates a table that includes the specified range of cells and returns the newly created object.
    void
    Generate the tables from json string
    get(int index)
    Gets the ITable at the specified index.
    get(String name)
    Gets the ITable with the specified name.
    int
    Returns the number of objects in the collection.
    Generate the string from tables

    从接口继承的方法 java.lang.Iterable

    forEach, iterator, spliterator
  • 方法详细资料

    • get

      ITable get(String name)
      Gets the ITable with the specified name.
      参数:
      name - The ITable name.
    • get

      ITable get(int index)
      Gets the ITable at the specified index.
      参数:
      index - The index.
    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • add

      ITable add(IRange range)
      Creates a table that includes the specified range of cells and returns the newly created object.
      参数:
      range - The applied range.
    • add

      ITable add(IRange range, boolean containsHeader)
      Creates a table that includes the specified range of cells and returns the newly created object.
      参数:
      range - The applied range.
      containsHeader - Whether the range contains a header.
    • fromJson

      void fromJson(String json)
      Generate the tables from json string
      参数:
      json -
    • toJson

      String toJson()
      Generate the string from tables
      返回: