public class EncodingResult extends Object
| Constructor and Description |
|---|
EncodingResult() |
| Modifier and Type | Method and Description |
|---|---|
Encoding |
getDetected()
Gets the detected encoding.
|
String |
getError()
Gets the last coding error or
null if there was no error. |
int |
getErrorColumn()
Gets the error column.
|
int |
getErrorLine()
Gets the error line.
|
long |
getErrorPosition()
Gets the error position if there is an error.
|
void |
setDetected(Encoding detected)
Sets the encoding, that has been detected.
|
void |
setError(String error)
Sets the last coding error.
|
void |
setErrorColumn(int errorColumn)
Sets the error column.
|
void |
setErrorLine(int errorLine)
Sets the error line.
|
void |
setErrorPosition(long errorPosition)
Sets the error position.
|
public Encoding getDetected()
public void setDetected(Encoding detected)
detected - the detected encoding.public String getError()
null if there was no error.null if there was no error.public void setError(String error)
error - the last coding error.public long getErrorPosition()
public void setErrorPosition(long errorPosition)
errorPosition - the error position.public int getErrorLine()
public void setErrorLine(int errorLine)
errorLine - the new error linepublic int getErrorColumn()
public void setErrorColumn(int errorColumn)
errorColumn - the new error columnCopyright © 2013-2015. All Rights Reserved.