com.c5corp.c5utm
Class C5UTMdatabaseMethods

java.lang.Object
  extended by com.c5corp.c5utm.C5UTMdatabaseMethods

Deprecated. This class is deprecated since version 1.0.3, and all of its functionality moved to the C5UTM class.

public class C5UTMdatabaseMethods
extends java.lang.Object

public class C5UTMdatabaseMethods C5UTMdatabaseMethods.java - part of the C5 Landscape Landscape database (otherwise known as the C5UTM database). Contains static methods to access data in a C5UTM database. It somewhat duplicates methods available in C5UTM.java (which mirrors the functionality of the C5UTM.pm - the orginal perl module from which C5UTM.java was inspired.) All methods originaly developed as part of this class (from the java trajectory of the project development) have now been moved to C5UTM.java.

Since:
1.0
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt
See Also:
C5UTM

Constructor Summary
C5UTMdatabaseMethods()
          Deprecated.  
 
Method Summary
static java.lang.String deleteDem(java.lang.String id)
          Deprecated. This method is deprecated, moved to the C5UTM class.
static java.lang.String deleteDem(java.lang.String id, C5UTMconfs confs)
          Deprecated. This method is deprecated, moved to the C5UTM class.
static java.util.Vector findDemNameContains(java.lang.String str)
          Deprecated. This method is deprecated, has beem moved to the C5UTM class.
static java.util.Vector findDemNameContains(java.lang.String str, C5UTMconfs confs)
          Deprecated. This method is deprecated, its functionality replaced by the getDemMetadata(String query) method of the C5UTM class.
static java.util.Vector findExactDemNames(java.lang.String str)
          Deprecated. This method is deprecated, moved to the C5UTM class.
static java.util.Vector findExactDemNames(java.lang.String str, C5UTMconfs confs)
          Deprecated. This method is deprecated, moved to the C5UTM class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

C5UTMdatabaseMethods

public C5UTMdatabaseMethods()
Deprecated. 
Method Detail

findExactDemNames

public static java.util.Vector findExactDemNames(java.lang.String str,
                                                 C5UTMconfs confs)
Deprecated. This method is deprecated, moved to the C5UTM class.

Vector findExactDemNames(String str, C5UTMconfs conf) Finds an exact match for a dem name from the file_info field of DEM_METADATA. This method will normally return a Vector with either 0 or 1 element of type String. If it returns more elements, you may wish to investigate that there is not a duplicate map in the database. If you have a confs object available, use this version. It is faster not to make a new C5UTMconfs.

Parameters:
str - deprecated
confs - deprecated
Returns:
deprecated
See Also:
C5UTM

findExactDemNames

public static java.util.Vector findExactDemNames(java.lang.String str)
Deprecated. This method is deprecated, moved to the C5UTM class.

Vector findExactDemNames(String str) Finds an exact match for a dem name from the file_info field of DEM_METADATA. This method will normally return a Vector with either 0 or 1 element of type String. If it returns more elements, you may wish to investigate that there is not a duplicate map in the database. If you have a confs object available, use Vector findLikeDemNames(String str, C5UTMconfs conf) This overloaded version is slower because it has the overhead of making a new C5UTMconfs

Parameters:
str - deprecated
Returns:
deprecated
See Also:
C5UTM

findDemNameContains

public static java.util.Vector findDemNameContains(java.lang.String str,
                                                   C5UTMconfs confs)
Deprecated. This method is deprecated, its functionality replaced by the getDemMetadata(String query) method of the C5UTM class.

Vector findDemNameContains(String str, C5UTMconfs conf) This method will normally return a Vector with either 0 or more elements of type String. It searches the file_info field of DEM_METADATA for a subsring containing the query string. If you have a confs object available, use this version. It is faster not to make a new C5UTMconfs.

Parameters:
str - deprecated
confs - deprecated
Returns:
deprecated
See Also:
C5UTM

findDemNameContains

public static java.util.Vector findDemNameContains(java.lang.String str)
Deprecated. This method is deprecated, has beem moved to the C5UTM class.

Vector findDemNameContains(String str) This method will normally return a Vector with either 0 or 1 element of type String. This method will normally return a Vector with eiter 0 or more elements of type String. It searches the file_info field of DEM_METADATA for a subsring containing the query string. If you have a confs object available, use Vector findDemNameContains(String str, C5UTMconfs conf) This overloaded version is slower because it has the overhead of making a new C5UTMconfs.

Parameters:
str - deprecated
Returns:
deprecated
See Also:
C5UTM

deleteDem

public static java.lang.String deleteDem(java.lang.String id,
                                         C5UTMconfs confs)
Deprecated. This method is deprecated, moved to the C5UTM class.

boolean deleteDem(String id, C5UTMconfs conf) This method drops a dem from the database according to its id. The id can be found in the RECEIPT folder. Also deletes the receipt file.

Parameters:
id - deprecated
confs - deprecated
Returns:
deprecated
See Also:
C5UTM

deleteDem

public static java.lang.String deleteDem(java.lang.String id)
Deprecated. This method is deprecated, moved to the C5UTM class.

boolean deleteDem(String id) This method drops a dem from the database according to its id. The id can be found in the RECEIPT folder. Also deletes the receipt file. If you have a confs object available, use boolean dropDem(int id, C5UTMconfs conf) This overloaded version is slower because it has the overhead of making a new C5UTMconfs.

Parameters:
id - deprecated
Returns:
deprecated
See Also:
C5UTM