Interface OutputStreamHolder

All Known Implementing Classes:
FileOutputStreamHolder, FileReplacer

public interface OutputStreamHolder

Represents the capability to hold an OutputStream.

Method Summary getOutputStream()
          Returns an OutputStream.

Method Detail

getOutputStream getOutputStream()
Returns an OutputStream.

No guarantee is offered as to whether this is a new stream on whatever the underlying resource is or whether the same stream handle may be returned from multiple calls to this method. However, a typical scenario would be that an instance of this interface would only be available to one client and that client would use it once. The semantics are left intentionally weak to allow different types of use of this interface.

Important note: The obligation is on the caller to close the returned stream when he is finished with it.

Throws: - if an exception occurs while creating or opening the stream

AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.