org.deegree.feature
Class Features

java.lang.Object
  extended by org.deegree.feature.Features

public class Features
extends java.lang.Object

Provides utility methods for common tasks that involve Feature and FeatureCollection objects.

Version:
$Revision: 27818 $, $Date: 2010-11-07 16:25:10 +0100 (So, 07. Nov 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
Features()
           
 
Method Summary
static FeatureCollection sortFc(FeatureCollection fc, SortProperty[] sortCrits)
          Returns a sorted FeatureCollection.
static FeatureCollection toCollection(FeatureInputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Features

public Features()
Method Detail

toCollection

public static FeatureCollection toCollection(FeatureInputStream is)
                                      throws java.io.IOException
Throws:
java.io.IOException

sortFc

public static FeatureCollection sortFc(FeatureCollection fc,
                                       SortProperty[] sortCrits)
Returns a sorted FeatureCollection.

Parameters:
fc - feature collection to be sorted, must not be null
sortCrits - sort criteria
Returns:
sorted feature collection, never null


Copyright © 2011. All Rights Reserved.