|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type for this strategyS - the serializing objectD - the deserializing objectpublic interface SerializingStrategy<T,S,D>
| Method Summary | |
|---|---|
T |
deserialize(D deserializeFrom)
Deserializes the file reference |
java.lang.String |
getId()
Returns the id |
S |
serialize(S serializeTo,
T object)
Serializes the reference |
boolean |
supports(java.lang.Object object)
Whether the given reference type is supported |
| Method Detail |
|---|
@NotNull @NonNls java.lang.String getId()
boolean supports(@NotNull
java.lang.Object object)
object - the reference
@NotNull
S serialize(@NotNull
S serializeTo,
@NotNull
T object)
throws java.io.IOException
serializeTo - the serializeToobject - the object
java.io.IOException
@NotNull
T deserialize(@NotNull@NonNls
D deserializeFrom)
throws java.io.IOException
deserializeFrom - the deserializeFrom
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||