|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdevimpl.audit.model.DefaultContentCache
public class DefaultContentCache
| Constructor Summary | |
|---|---|
DefaultContentCache(java.util.List<ContentRoot> roots)
|
|
| Method Summary | |
|---|---|
boolean |
acceptsUrl(ContentRoot root,
java.net.URL url)
Gets whether a content set root accepts a URL. |
ContentDirectory |
getContainingDirectory(ContentDirectory directory)
Gets the containing content set directory of a content set directory, or null if the directory is a root directory. |
java.util.Collection<ContentDirectory> |
getDirectories(java.net.URL url)
Gets the content set directories for a URL. |
java.util.Collection<ContentDirectory> |
getRootDirectories()
Gets the content set directories for the content set roots of the cached projects. |
java.util.Collection<ContentRoot> |
getRoots()
Gets the content set roots of the project. |
java.util.Collection<ContentRoot> |
getRoots(java.net.URL url)
Gets the roots which contains a URL, ordered from longest to shortest, or empty if none. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContentCache(java.util.List<ContentRoot> roots)
| Method Detail |
|---|
public java.util.Collection<ContentRoot> getRoots()
ContentCache
getRoots in interface ContentCachepublic java.util.Collection<ContentRoot> getRoots(java.net.URL url)
ContentCache
getRoots in interface ContentCache
public boolean acceptsUrl(ContentRoot root,
java.net.URL url)
ContentCacheIntersectedFilters#inferFromFilters; for directory URLs, with IntersectedFilters#isIncluded.
acceptsUrl in interface ContentCacheroot - The content set root.url - The URL to test.public java.util.Collection<ContentDirectory> getRootDirectories()
ContentCacheSince roots from different content sets that have the same URL are merged into a single content set directory, there may be fewer content set directories than roots. Note that neither project nor root filters apply to the roots themselves.
getRootDirectories in interface ContentCachepublic java.util.Collection<ContentDirectory> getDirectories(java.net.URL url)
ContentCacheIf the specified URL is a directory URL, the URL of the directories will be that URL; if the specified URL is a file URL, the URL of the directories will be the parent of that URL.
getDirectories in interface ContentCachepublic ContentDirectory getContainingDirectory(ContentDirectory directory)
ContentCache
getContainingDirectory in interface ContentCache
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||