Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Nov 23, 2024
1 parent 42adc65 commit 69266f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ try (ModuleFileSystem fs = ModuleFileSystem.create("module:/com.myorg.mymodule")
In the above example, we explicitly use the ModuleFileSystem class to automatically get ModulePath instances when creating paths.
This allows us to use the `getWrappedPath()` method to obtain the internal path, which returns an `file:`, `jar:`, or `jrt:` URL.
You can then use this URL to access any resources of the module in a normal fashion by passing the URL.
Note that this requires had a file system to be created through the `ModuleFileSystem` class, not the `FileSystem` class.
Note that this requires a file system to be created through the `ModuleFileSystem` class, not the `FileSystem` class.

### Bypassing Encapsulation

Expand Down

0 comments on commit 69266f0

Please sign in to comment.