mirror of
https://github.com/plexusorg/toml4j.git
synced 2025-02-22 07:54:28 +00:00
Added documentation to ValueParser
This commit is contained in:
parent
86e921cb4b
commit
feba3c7e1a
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@ package com.moandjiezana.toml;
|
||||||
|
|
||||||
interface ValueParser {
|
interface ValueParser {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param s must already have been trimmed
|
||||||
|
*/
|
||||||
boolean canParse(String s);
|
boolean canParse(String s);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param s must already have been validated by {@link #canParse(String)}
|
||||||
|
*/
|
||||||
Object parse(String s);
|
Object parse(String s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue