Eclipse Platform
2.0

org.eclipse.update.core
Interface IContentConsumer


public interface IContentConsumer

Generic content consumer. A generic content consumer is used to store plug-in and non-plug-in files for a feature.

Clients may implement this interface. However, in most cases clients will only use the content consumer provided by the feature type(s) implemented by the platform.

Since:
2.0
See Also:
IFeatureContentConsumer

Method Summary
 void close()
          Indicates successful completion of the store operations for this consumer
 void store(ContentReference contentReference, IProgressMonitor monitor)
          Stores a file.
 

Method Detail

store

public void store(ContentReference contentReference,
                  IProgressMonitor monitor)
           throws CoreException
Stores a file.

Throws:
CoreException
Since:
2.0
See Also:
IFeatureContentConsumer.open(IPluginEntry), IFeatureContentConsumer.open(INonPluginEntry)

close

public void close()
           throws CoreException
Indicates successful completion of the store operations for this consumer

Throws:
CoreException
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.