Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.compare
Interface IStreamContentAccessor

All Known Subinterfaces:
IEncodedStreamContentAccessor
All Known Implementing Classes:
BufferedContent, DocumentRangeNode, HistoryItem, ResourceNode, StructureRootNode

public interface IStreamContentAccessor

An IStreamContentAccessor object represents a set of bytes which can be accessed by means of a stream.

Clients may implement this interface, or use the standard implementation, BufferedContent.

See Also:
BufferedContent

Method Summary
  InputStream getContents ()
          Returns an open InputStream for this object which can be used to retrieve the object's content.
 

Method Detail

getContents

InputStream getContents()
                        throws 
CoreException
Returns an open InputStream for this object which can be used to retrieve the object's content. The client is responsible for closing the stream when finished. Returns null if this object has no streamable contents.

Returns:
an input stream containing the contents of this object
Throws:
CoreException - if the contents of this object could not be accessed

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire