Interface Document
-
- All Known Implementing Classes:
ComputedNetworkFractions
,ExtrapolatedHidServStats
,ReportedHidServStats
public interface Document
Common interface of documents that are supposed to be serialized and stored in document files and later retrieved and de-serialized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
format
java.lang.String[] format()
Returns an array of two strings with a string representation of this document.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.
-
parse
boolean parse(java.lang.String[] formattedStrings)
Initializes an object using the given array of two strings.These are the same two strings that the format method provides.
-
-