org.eclipse.edje/src/main/java/org/eclipse/edje/io/AbstractConnection.java
@Override
	public final synchronized InputStream openInputStream() throws IOException {
		checkCanOpen(inputStream);
		inputStream = newInputStream();
		return inputStream;
	}
/**
	 * Opens a {@link AbstractConnectionInputStream} on connection. Ensures the
	 * stream can be opened:
	 * <ul>
	 * <li>the stream is not already opened</li>
	 * <li>the connection is not ready to be closed</li>
	 * <li>the connection is not closed</li>
	 * </ul>
	 * 
	 * @return the opened {@link AbstractConnectionInputStream}
	 * 
	 * @throws IOException
	 *             if a stream cannot be opened or if is already open.
	 */
Opens a  AbstractConnectionInputStream on connection. Ensures the
stream can be opened:

the stream is not already opened
the connection is not ready to be closed
the connection is not closed


@return the opened  AbstractConnectionInputStream

@throws IOException
if a stream cannot be opened or if is already open.
Opens a AbstractConnectionInputStream on connection . Ensures the stream can be opened : the stream is not already opened the connection is not ready to be closed the connection is not closed @return the opened AbstractConnectionInputStream @throws IOException if a stream cannot be opened or if is already open .
@Override
	public final synchronized InputStream openInputStream() throws IOException {
		checkCanOpen(inputStream);
		inputStream = newInputStream();
		return inputStream;
	}
@ Override public final synchronized InputStream openInputStream ( ) throws IOException { checkCanOpen ( inputStream ) ; inputStream = newInputStream ( ) ; return inputStream ; }
Opens a {@link AbstractConnectionInputStream} on connection.
Opens a { @link AbstractConnectionInputStream } on connection .