public interface Document
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
format()
Returns an array of two strings with a string representation of this
document.
|
boolean |
parse(java.lang.String[] formattedStrings)
Initializes an object using the given array of two strings.
|
java.lang.String[] format()
The first string will be used to start a group of documents, the second string will be used to represent a single document in that group. Ideally, the first string is equivalent for many documents stored in the same file, and the second string is different for those documents.
boolean parse(java.lang.String[] formattedStrings)
These are the same two strings that the format method provides.