Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- taskRunner.runOrFail(
- () -> view.setLabelText("Please wait..."),
- () -> {
- try (
- final FileSystem zipfs
- = FileSystems.newFileSystem(uri, ZIPFS_ENV);
- ) {
- final boolean exists
- = Files.exists(zipfs.getPath("/info.json"));
- if (!exists)
- throw new NoSuchFileException("/info.json");
- tabPresenter = loadPresenter(zipfs);
- }
- },
- () -> loadTab(path),
- this::handleLoadFileError
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement