All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.uniroma2.art.sheet2rdf.sheet.SpreadsheetManager Maven / Gradle / Ivy

The newest version!
package it.uniroma2.art.sheet2rdf.sheet;

import it.uniroma2.art.sheet2rdf.exception.NotExistingSheetException;

import java.util.List;
import java.util.Map;

public interface SpreadsheetManager {

    String PREFIX_MAPPING_SHEET_NAME = "prefix_mapping";

    /**
     * Returns the prefix namespace mapping (optionally) defined in a dedicated sheet
     * @return
     */
    Map getPrefixNamespaceMapping();

    /**
     * Returns the list of tables
     * @return
     */
    List getSheets();

    /**
     * Returns the sheet manager at the given index
     * @param index
     * @return
     */
    S2RDFSheet getSheet(int index) throws NotExistingSheetException;

    /**
     * Returns the sheet manager of the sheet with the given name
     * @param sheetName
     * @return
     */
    S2RDFSheet getSheet(String sheetName) throws NotExistingSheetException;

    /**
     * Returns the amount of data sheets (prefix mapping excluded)
     * @return
     */
    int getDataSheetsCount();



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy