public static final class CsvFormatException.Status extends Object implements Serializable
Constructor and Description |
---|
Status(CsvFormatException.Reason reason,
String path,
long lineNumber,
long recordNumber,
int columnNumber,
String expected,
String actual)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getActual()
Returns the actual status description.
|
int |
getColumnNumber()
Returns the current column number (1-origin).
|
String |
getExpected()
Returns the expected status description.
|
long |
getLineNumber()
Returns the current line number (1-origin).
|
String |
getPath()
Return the path to the target file.
|
CsvFormatException.Reason |
getReason()
Return the reason of this status.
|
long |
getRecordNumber()
Returns the current record number (1-origin).
|
String |
toString() |
public Status(CsvFormatException.Reason reason, String path, long lineNumber, long recordNumber, int columnNumber, String expected, String actual)
reason
- the reason of this statuspath
- the source pathlineNumber
- current (physical) line number (1-origin)recordNumber
- current record number (1-origin)columnNumber
- current column number (1-origin)expected
- the expected status descriptionactual
- the actual status descriptionIllegalArgumentException
- if some parameters were null
public CsvFormatException.Reason getReason()
public String getPath()
public long getLineNumber()
public long getRecordNumber()
public int getColumnNumber()
public String getExpected()
public String getActual()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.