Microsoft SDK for Java

setCodeBase

This method of the SecurityClassLoader Class sets the codebase URL associated with the class loader. Call this method before using the loader to load classes.

Syntax

protected void setCodeBase(URL codeBase);

Parameters

codeBase The codebase URL to associate with the loader.

Exceptions

SecurityException if the loader already has an associated codebase URL.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.