Package org.eclipse.net4j.util.container
Class ContainerPersistence<E>
- java.lang.Object
- 
- org.eclipse.net4j.util.container.ContainerPersistence<E>
 
- 
- All Implemented Interfaces:
- IContainer.Persistence<E>
 - Direct Known Subclasses:
- FileContainerPersistence
 
 public abstract class ContainerPersistence<E> extends java.lang.Object implements IContainer.Persistence<E> - Since:
- 3.5
- Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description ContainerPersistence()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Collection<E>loadElements()protected abstract java.io.InputStreamopenInputStream()protected abstract java.io.OutputStreamopenOutputStream()voidsaveElements(java.util.Collection<E> elements)
 
- 
- 
- 
Method Detail- 
loadElementspublic java.util.Collection<E> loadElements() throws IORuntimeException - Specified by:
- loadElementsin interface- IContainer.Persistence<E>
- Throws:
- IORuntimeException
 
 - 
saveElementspublic void saveElements(java.util.Collection<E> elements) throws IORuntimeException - Specified by:
- saveElementsin interface- IContainer.Persistence<E>
- Throws:
- IORuntimeException
 
 - 
openInputStreamprotected abstract java.io.InputStream openInputStream() throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
openOutputStreamprotected abstract java.io.OutputStream openOutputStream() throws java.io.IOException- Throws:
- java.io.IOException
 
 
- 
 
-