public interface IStreamContentAccessor
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
.
BufferedContent
Modifier and Type | Method and Description |
---|---|
InputStream |
getContents()
Returns an open
InputStream for this object which can be used to retrieve the object's content. |
InputStream getContents() throws CoreException
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.CoreException
- if the contents of this object could not be accessed
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.