Klasse ImportAdapterExcel

java.lang.Object
org.deidentifier.arx.io.ImportAdapter
org.deidentifier.arx.io.ImportAdapterExcel
Alle implementierten Schnittstellen:
Iterator<String[]>

public class ImportAdapterExcel extends ImportAdapter
Import adapter for Excel files This adapter can import data from Excel files. It handles both XLS and XLSX files. The file type itself is defined by ImportConfigurationExcel. The files are accessed using Apache POI.
Siehe auch:
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Returns the percentage of data that has already been returned The basis for this calculation is the row currently being accessed.
    boolean
    Indicates whether there is another element to return This returns true when the file contains another line, which could be accessed by iterator.
    Returns the next row The returned element is sorted as defined by
    Ungültige Referenz
    ImportColumn#index
    and contains as many elements as there are columns selected to import from ImportAdapter.indexes.
    void
    Dummy.

    Von Klasse geerbte Methoden org.deidentifier.arx.io.ImportAdapter

    create, getConfig, getHeader, getLength

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden java.util.Iterator

    forEachRemaining
  • Methodendetails

    • getProgress

      public int getProgress()
      Returns the percentage of data that has already been returned The basis for this calculation is the row currently being accessed.
      Angegeben von:
      getProgress in Klasse ImportAdapter
      Gibt zurück:
    • hasNext

      public boolean hasNext()
      Indicates whether there is another element to return This returns true when the file contains another line, which could be accessed by iterator.
      Gibt zurück:
    • next

      public String[] next()
      Returns the next row The returned element is sorted as defined by
      Ungültige Referenz
      ImportColumn#index
      and contains as many elements as there are columns selected to import from ImportAdapter.indexes. The first row will always contain the names of the columns. headerReturned is used to keep track of that.
      Gibt zurück:
    • remove

      public void remove()
      Dummy.