|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an extension to the standard ISiteFactory interface. If a factory implements this interface and is handling URL connections, a progress monitor can be passed to allow canceling of frozen connections.
Input stream is obtained from the connection on a separate thread. When connection is canceled, the thread is still active. It is allowed to terminate when the connection times out on its own.
BaseSiteFactory
Method Summary | |
ISite |
createSite(URL url,
IProgressMonitor monitor)
Returns a site defined by the supplied URL. |
Method Detail |
public ISite createSite(URL url, IProgressMonitor monitor) throws CoreException, InvalidSiteTypeException
The actual interpretation of the URL is site-type specific. In most cases the URL will point to some site-specific file that can be used (directly or indirectly) to construct the site object.
url
- URL interpreted by the sitemonitor
- a progress monitor that can be canceledCoreException
- InvalidSiteTypeException
- the referenced site type is
not a supported type for this factory
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |