return;
}
File file = opfFileChooser.getSelectedFile();
OpfMetadataReader opfMetaReader = new OpfMetadataReader(file);
try {
opfMetaReader.parse();
Metadata metadata = opfMetaReader.getReadedMetadata();
fillForm(metadata);
} catch (XMLStreamException ex) {
logger.warning(ex.toString());
if (DEBUG) { ex.printStackTrace(); }
Dialogs.showErrorDialog(ex);
} catch (IOException ex) {
logger.warning(ex.toString());
if (DEBUG) { ex.printStackTrace(); }
Dialogs.showErrorDialog(ex);
} finally {
try {
opfMetaReader.close();
} catch (XMLStreamException ex) {
logger.warning(ex.toString());
if (DEBUG) { ex.printStackTrace(); }
Dialogs.showErrorDialog(ex);
} catch (IOException ex) {