- public String toString() {
- return toString(Format.VCard21);
- }
-
- protected void load(String serializedContent, Format format) {
- // note: fixed size array
- List<String> lines = Arrays.asList(serializedContent.split("\n"));
- load(lines, format);
- }
-
- protected void load(List<String> lines, Format format) {
- this.contacts = Parser.parse(lines, format);
- setDirty();
-
- for (Contact contact : contacts) {
- contact.setParent(this);
- }
- }
-
- public boolean isDirty() {
- return dirty;
- }
-