CSVDocument.Get Method
| Explanation | Load CSV from specified URL. The data before executing the Get method will be lost. The CSV data to be acquired will not be cached. Always get from the server. If not specify the param, request will be sent via HTTP GET. If param is specified, request will be sent via HTTP POST. If the web server does not return 200($HTTP_OK)in HTTP status code, exception CRS-331 is thrown. Since Ver.4.0.5, Mobile Ver.3.0.0 it is possible to raise arbitrary exceptions using HTTP response headers. See NetObject.Get for details. From here added since Ver.4.2.0 --> If About CSVDocument which internal character code is Unicode(PC ver, Mobile ver), character code for CSV file input will be Unicode. <--till here Since AI Ver.1.0.1 changes are from here --> If WEB server does not specify charset in Content-type of HTTP Response Header, the received CSV data will be analysed as character string of the specified character code. <--till here | |
| Call format | csvdoc.Get( URL [, param1 [, param2, … ] ] ) | |
| Return value | None | |
| Arguments | String URL | URL to read CSV data. Same as the URL of the NetObject.Get method. |
| Object param | Parameters to be added to the request Same as param of NetObject.Get method | |
| Exception | CSV-1 | CSV format is invalid |
| CSV-10 | The number of columns is not constant | |
| CSV-331 | Communication error Same excepetion as in NetObject.Get | |
| Example of use | | |
| Related item | Load, Parse, NetObject.Get methods | |