Class CrySLModelReaderClassPath


  • public class CrySLModelReaderClassPath
    extends Object
    Appendable, virtual classpath extension, allowing to add custom elements, even after the actual classpath was already set.
    • Constructor Detail

      • CrySLModelReaderClassPath

        public CrySLModelReaderClassPath​(Set<URL> virtualClassPath)
        Initializes a new instance with the current runtime's classpath and the elements the given set.
        Parameters:
        virtualClassPath - the virtual class path
    • Method Detail

      • createFromPaths

        public static CrySLModelReaderClassPath createFromPaths​(Collection<Path> virtualClassPath)
        Creates a new instance with the current runtime's classpath and the elements the given set.
        Parameters:
        virtualClassPath - the virtual class path
        Returns:
        the model reader class path instance for the given virtual class path
      • createFromURIs

        public static CrySLModelReaderClassPath createFromURIs​(Collection<URI> virtualClassPath)
        Creates a new instance with the current runtime's classpath and the elements the given set.
        Parameters:
        virtualClassPath - the virtual class path
        Returns:
        the model reader class path instance for the given virtual class path
      • getClassPath

        public URL[] getClassPath()
        Get the class path.
        Returns:
        A copy of the current state of the classpath.