|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParser
Common methods that all vCard reader classes must have.
| Method Summary | |
|---|---|
List<String> |
getWarnings()
Gets the warnings from the last vCard that was unmarshalled. |
VCard |
readNext()
Reads the next vCard. |
void |
registerExtendedType(Class<? extends VCardType> clazz)
Registers an extended type class. |
void |
unregisterExtendedType(Class<? extends VCardType> clazz)
Removes an extended type class that was previously registered. |
| Method Detail |
|---|
void registerExtendedType(Class<? extends VCardType> clazz)
clazz - the extended type class to register (MUST have a public,
no-arg constructor)void unregisterExtendedType(Class<? extends VCardType> clazz)
clazz - the extended type class to remove (MUST have a public,
no-arg constructor)List<String> getWarnings()
VCard readNext()
throws IOException
IOException - if there's a problem reading from the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||