Service Management Framework
Release 3.1

com.ibm.osg.smf.platform
Interface ContentLength


public interface ContentLength

Interface to mark that the class implements the getContentLength() method.

This can be added to for example to input streams if the creator of the stream knows the content length. Users of the input stream can query the length of the input stream before processing it.

(c) Copyright IBM Corp. 2002


Method Summary
 int getContentLength()
          Returns the content length of the receiver or -1 if unknown.
 

Method Detail

getContentLength

public int getContentLength()
Returns the content length of the receiver or -1 if unknown.

Service Management Framework
Release 3.1

Licensed Materials - Property of IBM. (C) Copyright IBM Corp. 2000, 2002 All Rights Reserved. IBM is a registered trademark of IBM Corp.