Package crypto.cryslhandler
Class CrySLModelReaderClassPath
- java.lang.Object
-
- crypto.cryslhandler.CrySLModelReaderClassPath
-
public class CrySLModelReaderClassPath extends Object
Appendable, virtual classpath extension, allowing to add custom elements, even after the actual classpath was already set.
-
-
Field Summary
Fields Modifier and Type Field Description static CrySLModelReaderClassPathJAVA_CLASS_PATH
-
Constructor Summary
Constructors Constructor Description CrySLModelReaderClassPath(Collection<URL> virtualClassPath)Initializes a new instance with the current runtime's classpath and the elements the given set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrySLModelReaderClassPathcreateFromPaths(Collection<Path> virtualClassPath)Creates a new instance with the current runtime's classpath and the elements the given set.static CrySLModelReaderClassPathcreateFromURIs(Collection<URI> virtualClassPath)Creates a new instance with the current runtime's classpath and the elements the given set.URL[]getClassPath()Get the class path.
-
-
-
Field Detail
-
JAVA_CLASS_PATH
public static final CrySLModelReaderClassPath JAVA_CLASS_PATH
-
-
Constructor Detail
-
CrySLModelReaderClassPath
public CrySLModelReaderClassPath(Collection<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.
-
-