
public abstract class ContainerPersistence<E> extends Object implements IContainer.Persistence<E>
| Constructor and Description |
|---|
ContainerPersistence() |
| Modifier and Type | Method and Description |
|---|---|
Collection<E> |
loadElements() |
protected abstract InputStream |
openInputStream() |
protected abstract OutputStream |
openOutputStream() |
void |
saveElements(Collection<E> elements) |
public Collection<E> loadElements() throws IORuntimeException
loadElements in interface IContainer.Persistence<E>IORuntimeExceptionpublic void saveElements(Collection<E> elements) throws IORuntimeException
saveElements in interface IContainer.Persistence<E>IORuntimeExceptionprotected abstract InputStream openInputStream() throws IOException
IOExceptionprotected abstract OutputStream openOutputStream() throws IOException
IOExceptionCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.