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>
IORuntimeException
public void saveElements(Collection<E> elements) throws IORuntimeException
saveElements
in interface IContainer.Persistence<E>
IORuntimeException
protected abstract InputStream openInputStream() throws IOException
IOException
protected abstract OutputStream openOutputStream() throws IOException
IOException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html