Méthode main de la classe DriverSelector
public static void main(String[] args) {
int a;
String system, user, password;
DriverSelector dSelector;
system=null;
user=null;
password=null;
a=0;
if (a<args.length) system=args[a++];
if (a<args.length) user=args[a++];
if (a<args.length) password=args[a++];
// create a driver selector (this will setup the database drivers)
dSelector=new DriverSelector();
// Query the
DriverSelector to see if the user passed enough
information
// from the command line or calling program
if (dSelector.isLogonRequired() && args.length<3) {
System.out.println(« You must supply logon information: System, User,
and Password »);
} else {
demo(dSelector, system, user, password);
}
Téléchargez cette ressource
Les mégatendances cybersécurité et cyber protection 2024
L'évolution du paysage des menaces et les conséquences sur votre infrastructure,
vos outils de contrôles de sécurité IT existants. EPP, XDR, EDR, IA, découvrez la
synthèse des conseils et recommandations à appliquer dans votre organisation.