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(String name,
                    String delimiter,
                    String enclosure,
                    boolean isFirstRowHeader,
                    String encoding)
                    throws Exception
 
- Throws:
 Exception
 
getStagedFiles
FileInfo[] getStagedFiles()
                          throws Exception
 
- Throws:
 Exception
 
stageData
FileTransformStats stageData(ModelInfo modelInfo,
                             boolean truncateTable)
                             throws Exception
 
- Throws:
 Exception
 
getPreviewRows
List<String> getPreviewRows(String filename,
                            boolean isFirstRowHeader,
                            int rows,
                            String encoding)
                            throws Exception
 
- Throws:
 Exception
 
getEncoding
String getEncoding(String fileName)
                   throws Exception
 
- Throws:
 Exception
 
listDatasourceNames
List<String> listDatasourceNames()
                                 throws IOException
 
- Throws:
 IOException