public static synchronized void setDefaultSearchPath ( String [ ] domains ) throws TextParseException { if ( domains == null ) { defaultSearchPath = null ; return ; } Name [ ] newdomains = new Name [ domains . length ] ; for ( int i = 0 ; i < domains . length ; i ++ ) newdomains [ i ] = Name . fromString ( domains [ i ] , Name . root ) ; defaultSearchPath = newdomains ; }
Sets the search path that will be used as the default by future Lookups .