|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.vinci.transport.util.TransportableConverter
public class TransportableConverter
Provides utility method for converting between differing transportable types.
| Method Summary | |
|---|---|
static void |
convert(Transportable convert_me,
Transportable into_me)
Copy the contents of one transportable into the other transportable. |
static Transportable |
convert(Transportable convert_me,
TransportableFactory factory)
Convert a transportable to the type of transportable returned by a factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Transportable convert(Transportable convert_me,
TransportableFactory factory)
convert_me - The transportable to get converted. Must implement toStream().factory - The factory used to create the return Transportable, which must implement
fromStream().
public static void convert(Transportable convert_me,
Transportable into_me)
convert_me - The transportable to get converted. Must implement toStream().into_me - The transportable to get populated. Must implement fromStream().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||