public class

PathList

extends Object
java.lang.Object
   ↳ sun.security.util.PathList

Class Overview

A utility class for handle path list

Summary

Public Constructors
PathList()
Public Methods
static String appendPath(String pathTo, String pathFrom)
Utility method for appending path from pathFrom to pathTo.
static URL[] pathToURLs(String path)
Utility method for converting a search path string to an array of directory and JAR file URLs.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PathList ()

Public Methods

public static String appendPath (String pathTo, String pathFrom)

Utility method for appending path from pathFrom to pathTo.

Parameters
pathTo the target path
Returns
  • the resulting path

public static URL[] pathToURLs (String path)

Utility method for converting a search path string to an array of directory and JAR file URLs.

Parameters
path the search path string
Returns
  • the resulting array of directory and JAR file URLs