Verified Owner
Top Description Constructors Methods
org.jabref.gui.util

public Class ZipFileChooser

extends BaseDialog<Path>
Class Inheritance
Imports
java.io.IOException, java.nio.file.FileSystem, .Files, .Path, java.time.ZoneId, .ZonedDateTime, java.time.format.DateTimeFormatter, .FormatStyle, java.util.stream.Collectors, javafx.beans.property.ReadOnlyLongWrapper, .ReadOnlyStringWrapper, javafx.collections.FXCollections, .ObservableList, javafx.scene.control.ButtonType, .SelectionMode, .TableColumn, .TableView, org.jabref.logic.l10n.Localization

Dialog to allow users to choose a file contained in a ZIP file.

Constructor Summary

AccessConstructor and Description
public
ZipFileChooser(FileSystem
ZIP-Fle to choose from, must be readable
zipFile
)

New ZIP file chooser.

Method Summary

Modifier and TypeMethod and Description
private static ObservableList<Path>

Returns:

entries that can be selected
getSelectableZipEntries
(FileSystem
ZIP-File
zipFile
)

Entries that can be selected with this dialog.

Inherited from org.jabref.gui.util.BaseDialog:
bringToFrontcloseOnKeyBindingMatchfitWindowToContent

Constructor Detail

ZipFileChooserback to summary
public ZipFileChooser(FileSystem zipFile) throws IOException

New ZIP file chooser.

Parameters
zipFile:FileSystem

ZIP-Fle to choose from, must be readable

Method Detail

getSelectableZipEntriesback to summary
private static ObservableList<Path> getSelectableZipEntries(FileSystem zipFile) throws IOException

Entries that can be selected with this dialog.

Parameters
zipFile:FileSystem

ZIP-File

Returns:ObservableList<Path>

entries that can be selected