|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.yaml.snakeyaml.error.Mark
public final class Mark
It's just a record and its only use is producing nice error messages. Parser does not use it for any other purposes.
Constructor Summary | |
---|---|
Mark(String name,
int index,
int line,
int column,
String buffer,
int pointer)
|
Method Summary | |
---|---|
String |
get_snippet()
|
String |
get_snippet(int indent,
int max_length)
|
int |
getColumn()
starts with 0 |
int |
getIndex()
starts with 0 |
int |
getLine()
starts with 0 |
String |
getName()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Mark(String name, int index, int line, int column, String buffer, int pointer)
Method Detail |
---|
public String get_snippet(int indent, int max_length)
public String get_snippet()
public String toString()
toString
in class Object
public String getName()
public int getLine()
public int getColumn()
public int getIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |