|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5utm.C5UTMdatabaseMethods
public class C5UTMdatabaseMethods
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.
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 |
---|
public C5UTMdatabaseMethods()
Method Detail |
---|
public static java.util.Vector findExactDemNames(java.lang.String str, C5UTMconfs confs)
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.
str
- deprecatedconfs
- deprecated
C5UTM
public static java.util.Vector findExactDemNames(java.lang.String str)
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
str
- deprecated
C5UTM
public static java.util.Vector findDemNameContains(java.lang.String str, C5UTMconfs confs)
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.
str
- deprecatedconfs
- deprecated
C5UTM
public static java.util.Vector findDemNameContains(java.lang.String str)
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.
str
- deprecated
C5UTM
public static java.lang.String deleteDem(java.lang.String id, C5UTMconfs confs)
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.
id
- deprecatedconfs
- deprecated
C5UTM
public static java.lang.String deleteDem(java.lang.String id)
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.
id
- deprecated
C5UTM
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |