package com.perforce.common.schema;
public enum Domain {
INT {
public String toJournalFormat(Object o) {
return o.toString();
}
},
KEY {
public String toJournalFormat(Object o) {
StringBuffer buf = new StringBuffer();
buf.append("@");
buf.append(o.toString().replaceAll("@", "@@"));
buf.append("@");
return buf.toString();
}
},
TEXT {
public String toJournalFormat(Object o) {
StringBuffer buf = new StringBuffer();
buf.append("@");
buf.append(o.toString().replaceAll("@", "@@"));
buf.append("@");
return buf.toString();
}
},
OCTET {
public String toJournalFormat(Object o) {
return o.toString();
}
},
OCTETS {
public String toJournalFormat(Object o) {
return o.toString();
}
},
DATE {
public String toJournalFormat(Object o) {
return o.toString();
}
},
INT8 {
public String toJournalFormat(Object o) {
return o.toString();
}
},
INT64 {
public String toJournalFormat(Object o) {
return o.toString();
}
};
Domain() {
}
abstract public String toJournalFormat(Object o);
}
# |
Change |
User |
Description |
Committed |
|
#1
|
13876 |
Paul Allen |
Rename/move file(s) |
|
|
//guest/paul_allen/p4convert-maven/src/com/perforce/common/schema/Domain.java |
#1
|
13873 |
Paul Allen |
Branching using p4convert-maven |
|
|
//guest/perforce_software/p4convert/src/com/perforce/common/schema/Domain.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|