blob: 6a90366fc08d4b270e761a25e90e6843308317da [file] [log] [blame]
/****************************************************************************
* Copyright (c) 2008 Composent, Inc. 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
*
* Contributors:
* Composent, Inc. - initial API and implementation
*****************************************************************************/
package org.eclipse.ecf.datashare;
import java.io.InputStream;
import java.io.OutputStream;
/**
* A container adapter that allows access to InputStream and OutputStream for
* the container.
*
* @since 2.0.0
*/
public interface IStreamContainerAdapter {
/**
* Get InputStream for communicating via container adapter.
* @return InputStream <code>null</code> if no InputStream available.
*/
public InputStream getInputStream();
/**
* Get OutputStream for communicating via container adapter.
* @return OutputStream <code>null</code> if no OutputStream available.
*/
public OutputStream getOutputStream();
}