Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.share.io
Interface CachingInputStreamProvider

All Superinterfaces:
InputStreamProvider

public interface CachingInputStreamProvider
extends InputStreamProvider

A subinterface of InputStreamProvider that adds support for tracking dependencies.


Method Summary
 void addCacheDependency(InputStreamProvider dependency)
          Adds a dependency to this provider.
 java.util.Enumeration getCacheDependencies()
          Returns an enumeration of all the InputStreamProviders that were calculated as dependencies of this file.
 
Methods inherited from interface oracle.cabo.share.io.InputStreamProvider
getCachedResult, getDisplayName, getIdentifier, hasSourceChanged, openInputStream, setCachedResult
 

Method Detail

addCacheDependency

public void addCacheDependency(InputStreamProvider dependency)
Adds a dependency to this provider. The result of {@#hasSourceChanged} must then take into account this dependency.

getCacheDependencies

public java.util.Enumeration getCacheDependencies()
Returns an enumeration of all the InputStreamProviders that were calculated as dependencies of this file. This is, of course, only valid after the target has been processed. If there are no dependencies, returns null.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.