- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file Version.java.
◆ getInstance()
static Version org.turro.vcard.properties.Version.getInstance |
( |
List< String > |
lines | ) |
|
|
static |
Definition at line 31 of file Version.java.
32 for(String l : lines) {
33 if(l.equalsIgnoreCase(
"VERSION:3.0")) {
◆ readTypes()
void org.turro.vcard.properties.Version.readTypes |
( |
String |
s, |
|
|
List< String > |
types |
|
) |
| |
Definition at line 70 of file Version.java.
71 if(Strings.isBlank(s))
return;
72 if(s.startsWith(
";")) s = s.substring(1);
74 for(String t : s.split(
";")) {
75 if(!Strings.isBlank(t)) types.add(t);
77 }
else if(version == 30) {
78 if(s.toUpperCase().startsWith(
"TYPE=")) {
80 for(String t : s.split(
",")) {
81 if(!Strings.isBlank(t)) types.add(t);
◆ renderTypes()
void org.turro.vcard.properties.Version.renderTypes |
( |
StringBuilder |
sb, |
|
|
List< String > |
types |
|
) |
| |
Definition at line 46 of file Version.java.
47 if(types.isEmpty())
return;
49 for(String t : types) {
52 }
else if(version == 30) {
54 for(String t : types) {
◆ renderVersion()
void org.turro.vcard.properties.Version.renderVersion |
( |
StringBuilder |
sb | ) |
|
Definition at line 60 of file Version.java.
61 sb.append(
"VERSION:");
64 }
else if(version == 30) {
◆ V21
org.turro.vcard.properties.Version.V21 =(21) |
◆ V30
org.turro.vcard.properties.Version.V30 =(30) |
The documentation for this enum was generated from the following file: