IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
ExplodedModuleReference.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3
5{
6
10 class ExplodedModuleReference : ModuleReference
11 {
12
13 readonly RuntimeVersion _runtimeVersion;
14
21 public ExplodedModuleReference(ModuleDescriptor descriptor, RuntimeVersion runtimeVersion, string dir) :
22 base(descriptor, Path.GetFullPath(dir))
23 {
24 _runtimeVersion = runtimeVersion;
25 }
26
28 public override ModuleReader Open() => new ExplodedModuleReader(Location ?? throw new InvalidOperationException(), _runtimeVersion);
29
30 }
31
32}
A ModuleReader for an exploded module.
Represents a reference to a modular JAR file.
ExplodedModuleReference(ModuleDescriptor descriptor, RuntimeVersion runtimeVersion, string dir)
Initializes a new instance.
Provides access to the content of a module.