org.pentaho.platform.dataaccess.datasource.wizard.service.gwt
Interface ICsvDatasourceService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- CsvDatasourceServiceImpl, CsvDatasourceServiceServlet
public interface ICsvDatasourceService
- extends com.google.gwt.user.client.rpc.RemoteService
stageFile
ModelInfo stageFile(java.lang.String name,
java.lang.String delimiter,
java.lang.String enclosure,
boolean isFirstRowHeader,
java.lang.String encoding)
throws java.lang.Exception
- Throws:
java.lang.Exception
getStagedFiles
FileInfo[] getStagedFiles()
throws java.lang.Exception
- Throws:
java.lang.Exception
stageData
FileTransformStats stageData(ModelInfo modelInfo,
boolean truncateTable)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewRows
java.util.List<java.lang.String> getPreviewRows(java.lang.String filename,
boolean isFirstRowHeader,
int rows,
java.lang.String encoding)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEncoding
java.lang.String getEncoding(java.lang.String fileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
listDatasourceNames
java.util.List<java.lang.String> listDatasourceNames()
throws java.io.IOException
- Throws:
java.io.IOException