T - the type that is (de)serializedpublic interface RegistrySerializingStrategy<T>
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends T> |
deserialize()
Deserializes all
|
T |
deserialize(String id)
Deserialize the object
|
void |
remove(T object,
String id) |
void |
serialize(T object,
String id)
Serialize the object
|
void |
update(T object,
String id) |
@Nonnull T deserialize(@Nonnull String id) throws IOException
id - the idIOException - if there is an io problemvoid serialize(@Nonnull T object, @Nonnull String id) throws IOException
object - the object to serializeid - the idIOException - if there is an io problemvoid update(@Nonnull T object, @Nonnull String id) throws IOException
IOExceptionvoid remove(@Nonnull T object, @Nonnull String id) throws IOException
IOException@Nonnull Collection<? extends T> deserialize() throws IOException
IOException - if there is an io problemCopyright © 2007–2016 cedarsoft GmbH. All rights reserved.