Update on remote-server
[jvcard.git] / src / be / nikiroo / jvcard / parsers / AbookParser.java
index 344ae705401652905fe49563fa5fac4110be9f41..cb4f667119be22b0b8cf8713a1b7f439511c30a4 100644 (file)
@@ -9,7 +9,17 @@ import be.nikiroo.jvcard.Contact;
 import be.nikiroo.jvcard.Data;
 
 public class AbookParser {
-       public static List<Contact> parse(List<String> lines) {
+       /**
+        * Load the given data from under the given {@link Format}.
+        * 
+        * @param lines
+        *            the input to load from
+        * @param format
+        *            the {@link Format} to load as
+        * 
+        * @return the list of elements
+        */
+       public static List<Contact> parseContact(List<String> lines) {
                List<Contact> contacts = new LinkedList<Contact>();
 
                for (String line : lines) {