public final class FileWrapper extends Object
It does this by maintaining a list of open files, keyed by file name (or alias, if used). A list of open files is also maintained for each thread, together with the current line number.
Modifier and Type | Method and Description |
---|---|
static void |
clearAll() |
static void |
endRow(String file) |
static String |
getColumn(String file,
int col) |
static int |
getCurrentRow(String file)
Gets the current row number (mainly for error reporting)
|
static void |
open(String file,
String alias) |
public static void endRow(String file)
public static int getCurrentRow(String file)
file
- name of the file for which the row number is asked-1
if
file
was not opened yetpublic static void clearAll()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.