|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.persistence.cache.BBoxPropertiesCache
public class BBoxPropertiesCache
BBoxCache based on a Java properties file.
BBoxCache| Constructor Summary | |
|---|---|
BBoxPropertiesCache(File propsFile)
Creates a new BBoxPropertiesCache instance. |
|
| Method Summary | |
|---|---|
boolean |
contains(QName ftName)
Returns true, if the the specified feature type is known to the cache. |
Envelope |
get(QName ftName)
Returns the cached envelope for features of the specified type. |
void |
persist()
Ensures that the cache is persisted. |
void |
set(QName ftName,
Envelope bbox)
Updates the envelope for the specified type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BBoxPropertiesCache(File propsFile)
throws IOException
BBoxPropertiesCache instance.
propsFile - properties file, must not be null
IOException| Method Detail |
|---|
public Envelope get(QName ftName)
BBoxCache
get in interface BBoxCacheftName - name of the feature type, must not be null
null, if the feature type does not have an envelope
(no geometry properties or no instances)public boolean contains(QName ftName)
BBoxCache
contains in interface BBoxCacheftName - name of the feature type, must not be null
public void set(QName ftName,
Envelope bbox)
BBoxCache
set in interface BBoxCacheftName - name of the feature type, must not be nullbbox - new envelope (using the storage CRS), or null, if the feature type does not have an
envelope (no geometry properties or no instances)
public void persist()
throws IOException
BBoxCache
persist in interface BBoxCacheIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||