Class PathList


  • public class PathList
    extends java.lang.Object
    A utility class for handle path list
    • Constructor Summary

      Constructors 
      Constructor Description
      PathList()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String appendPath​(java.lang.String pathTo, java.lang.String pathFrom)
      Utility method for appending path from pathFrom to pathTo.
      static java.net.URL[] pathToURLs​(java.lang.String path)
      Utility method for converting a search path string to an array of directory and JAR file URLs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PathList

        public PathList()
    • Method Detail

      • appendPath

        public static java.lang.String appendPath​(java.lang.String pathTo,
                                                  java.lang.String pathFrom)
        Utility method for appending path from pathFrom to pathTo.
        Parameters:
        pathTo - the target path
        pathFrom - the path to be appended to pathTo
        Returns:
        the resulting path
      • pathToURLs

        public static java.net.URL[] pathToURLs​(java.lang.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