循环中的setRequestProperty(map)

时间:2018-03-10 11:24:31

标签: java dictionary properties request connection

我在哪里做错了?

while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
    $num = count($data);
    $row++;
    fwrite($myfile, implode("\t", $data) . "\n");
    // or with PHP_EOL as line end
    // fwrite($myfile, implode("\t", $data) . PHP_EOL);
}
fclose($handle);
fclose($myfile);

提前致谢

1 个答案:

答案 0 :(得分:0)

我假设您正在使用类java.net.URLConnect中的方法datefield1 >= date '2016-05-18' and datefield1 < date '2016-05-21' 或其派生类,并且您的代码无法编译。此方法需要2个输入参数#setRequestProperty(String, String)key。您需要单独提供它们:

value