The App object offers zip code functionality such as:
Checking if ZipCode is valid using method ValidateZip;
Getting distance between 2 zipcodess using CalcDistanceBetweenZipCodes;
Finding all ZipCodes in specific city using ZipsFromCity;
App() -
Constructor for class com.electricvine.App
Contains records returned as a result of running ZipSearch as a vector.
example:
com.electricvine.ZipSearchResults zsr = null;
java.util.Vector results = null;
if ( submit>0 ) {
if ( zs.Run() ) {
zsr = zs.getResults();
results = zsr.getDataSet();
total = results.size();
}
else {
error = com.electricvine.LastError.getDescription();
}
}
for (int i=0; (i < offset) && (start+i < total); i++) {
row = (java.util.Hashtable) results.elementAt(i);
The ZipSearch object allows you to set options such as whether or not to
use paging or user authentication for tracking search usage
You can use multiple options at the same time using OR operator.
General utility functions
These functions are generally used internally by Bullseye, and will not
need to be accessed in most implementations of Bullseye.
Utils() -
Constructor for class com.electricvine.Utils