public class Csv
extends java.lang.Object
implements pserver.pservlets.PService
Constructor and Description |
---|
Csv() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMimeType()
Returns the mime type.
|
void |
init(java.lang.String[] params)
Overridden method of init from
PService Does nothing here. |
int |
service(pserver.data.VectorMap parameters,
java.lang.StringBuffer response,
pserver.data.DBAccess dbAccess)
Creates a service for CSV-based import.
|
public void init(java.lang.String[] params) throws java.lang.Exception
PService
Does nothing here.init
in interface pserver.pservlets.PService
params
- An array of strings containing the parametersjava.lang.Exception
- Default Exception is thrown.public java.lang.String getMimeType()
getMimeType
in interface pserver.pservlets.PService
PService
.public int service(pserver.data.VectorMap parameters, java.lang.StringBuffer response, pserver.data.DBAccess dbAccess)
service
in interface pserver.pservlets.PService
parameters
- The parameters needed for this service.response
- The response string that is created.dbAccess
- The database manager.