org.apache.derby.tools
Class URLCheck

java.lang.Object
  extended byorg.apache.derby.tools.URLCheck

public class URLCheck
extends java.lang.Object

This class takes a string used for a connection URL and checks for correctness. To turn off output in ij, use the command line property of -DURLCheck=false. param anURL The URL used to connect to a database.


Field Summary
 java.util.Vector attributes
           
static java.util.Vector booleanAttributes
           
(package private)  LocalizedResource langUtil
           
private static java.util.Vector validDerbyProps
           
(package private)  java.util.Vector validProps
           
 
Constructor Summary
URLCheck(java.lang.String anURL)
           
 
Method Summary
 void check()
           
 void checkForDuplicate(AttributeHolder anAttribute)
           
 java.util.Properties getAttributes(java.lang.String url, java.util.Properties props)
           
static java.util.Vector getBooleanAttributes()
           
private  java.util.Vector getValidDerbyProps()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

public java.util.Vector attributes

booleanAttributes

public static java.util.Vector booleanAttributes

langUtil

LocalizedResource langUtil

validProps

java.util.Vector validProps

validDerbyProps

private static java.util.Vector validDerbyProps
Constructor Detail

URLCheck

public URLCheck(java.lang.String anURL)
Method Detail

main

public static void main(java.lang.String[] args)

check

public void check()

checkForDuplicate

public void checkForDuplicate(AttributeHolder anAttribute)

getAttributes

public java.util.Properties getAttributes(java.lang.String url,
                                          java.util.Properties props)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getBooleanAttributes

public static java.util.Vector getBooleanAttributes()

getValidDerbyProps

private java.util.Vector getValidDerbyProps()


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.