Write strings followed by a newline to the file. Implements a JavaScript function that takes a variable number of arguments, converts each argument to a string, writes those strings to the file, and then writes a platform-specific line separator. @param cx the current Context for this thread @p
(Context cx, Scriptable thisObj, Object[] args, Function funObj)
| 208 | * object, or if the file cannot be written to |
| 209 | */ |
| 210 | @JSFunction |
| 211 | public static void writeLine(Context cx, Scriptable thisObj, Object[] args, Function funObj) |
| 212 | throws IOException { |
| 213 | write0(thisObj, args, true); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Get the current line number of the reader. |
no test coverage detected