public class SupportedVersionsHelper extends Object
SupportedVersions
annotation for "public static" fields.| Modifier and Type | Method and Description |
|---|---|
static VCardVersion[] |
getSupportedVersions(Object obj)
Gets the vCard versions that are defined by the given object's
SupportedVersions annotation. |
static boolean |
isSupportedBy(VCardVersion version,
Object obj)
Determines if this object is supported by the given vCard version.
|
public static VCardVersion[] getSupportedVersions(Object obj)
SupportedVersions annotation.obj - the object, must be "public static"public static boolean isSupportedBy(VCardVersion version, Object obj)
SupportedVersions annotation.version - the vCard versionobj - the objectCopyright © 2012–2026 Michael Angstadt. All rights reserved.