package com.perforce.cvs.parser.rcstypes;
import java.util.ArrayList;
import java.util.List;
public class RcsObjectTagList {
private List<RcsObjectTag> list = new ArrayList<RcsObjectTag>();
public RcsObjectTagList(String str) {
for(String s : str.split("\\s+")) {
if(s.contains(":")) {
RcsObjectTag tag = new RcsObjectTag(s);
list.add(tag);
}
}
}
public List<RcsObjectTag> getList() {
return list;
}
public String toString() {
StringBuffer sb = new StringBuffer();
for(RcsObjectTag t : list) {
if(sb.length() != 0) {
sb.append(", ");
}
sb.append(t.toString());
}
return sb.toString();
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
10825 |
Paul Allen |
Branching using paul_allen.p4convert |
|
|
//guest/perforce_software/p4convert/src/com/perforce/cvs/parser/rcstypes/RcsObjectTagList.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|