createClassPath(FileObject... roots) Create ClassPath for the given array of class path roots
Parameters: roots - array of fileobjects which must correspond to directory.In the case of archive file, the FileObject representing the root of thearchive must be used.
createClassPath(URL... roots) Create ClassPath for the given array of class path roots
Parameters: roots - array of URLs which must correspond to directory.In the case of archive file, the jar protocol URL must be used.Cannot be null; can be empty array; array can contain nulls.
createProxyClassPath(ClassPath... delegates) Creates read only proxy ClassPath for given delegates.
The order of resources is given by the order of the delegates
Parameters: delegates - ClassPaths to delegate to.
createProxyClassPathImplementation(ClassPathImplementation... delegates) Creates read only proxy ClassPathImplementation for given delegates.
The order of resources is given by the order of the delegates
Parameters: delegates - ClassPathImplementations to delegate to.
createResource(URL url) Creates leaf PathResourceImplementation.
The created PathResourceImplementation has exactly one immutable root.
Parameters: url - the root of the resource.
public static ClassPath createClassPath(FileObject... roots)(Code)
Create ClassPath for the given array of class path roots
Parameters: roots - array of fileobjects which must correspond to directory.In the case of archive file, the FileObject representing the root of thearchive must be used. Cannot be null; can be empty array; array can contain nulls. API classpath
Create ClassPath for the given array of class path roots
Parameters: roots - array of URLs which must correspond to directory.In the case of archive file, the jar protocol URL must be used.Cannot be null; can be empty array; array can contain nulls. API classpath
Creates read only proxy ClassPath for given delegates.
The order of resources is given by the order of the delegates
Parameters: delegates - ClassPaths to delegate to. API classpath
Creates read only proxy ClassPathImplementation for given delegates.
The order of resources is given by the order of the delegates
Parameters: delegates - ClassPathImplementations to delegate to. SPI classpath
Creates leaf PathResourceImplementation.
The created PathResourceImplementation has exactly one immutable root.
Parameters: url - the root of the resource. The URL must refer to folder. In the case of archive filethe jar protocol URL must be used. PathResourceImplementation