Class DirectoryClassPathElement

    • Constructor Detail

      • DirectoryClassPathElement

        public DirectoryClassPathElement​(Path root,
                                         boolean runtime)
        Deprecated.
    • Method Detail

      • apply

        public <T> T apply​(Function<OpenPathTree,​T> func)
        Deprecated.
        Description copied from interface: ClassPathElement
        Processes the content of this classpath element and returns a result.
        Type Parameters:
        T - result type
        Parameters:
        func - content processing function
        Returns:
        processing result
      • isRuntime

        public boolean isRuntime()
        Deprecated.
        Description copied from interface: ClassPathElement
        Checks whether this is a runtime classpath element
        Returns:
        true in case this is a runtime classpath element, otherwise - false
      • getRoot

        public Path getRoot()
        Deprecated.
        Returns:
        The element root, or null if not applicable
      • getResource

        public ClassPathResource getResource​(String name)
        Deprecated.
        Description copied from interface: ClassPathElement
        Loads a resource from the class path element, or null if it does not exist.
        Parameters:
        name - The resource to load
        Returns:
        An representation of the class path resource if it exists
      • getProvidedResources

        public Set<String> getProvidedResources()
        Deprecated.
        Description copied from interface: ClassPathElement
        Returns a set of all known resources.
        Returns:
        A set representing all known resources
      • getProtectionDomain

        public ProtectionDomain getProtectionDomain​(ClassLoader classLoader)
        Deprecated.
        Returns:
        The protection domain that should be used to define classes from this element