Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleNote

The programming interfaces described below are in dcore-app-extension-api library.

The Metadata Extension

Rozszerzenie metadata służy do poszerzania możliwości importujących i eksportujących metadane w aplikacji. Poprzez to rozszerzenie możemy dodać funkcję importowania lub/i eksportowania metadanych z/do zewnętrznego formatu.

Rozszerzenie przyjmuje dwa parametry:

  • class - jest to nazwa klasy, która implementuje odpowiedni interfejs programistyczny tego rozszerzenia
  • name - nazwa rozszerzenia

The metadata extension is for expanding the metadata import and export capabilities of the application. The extension makes it possible to add the function of importing/exporting metadata from/to an external format.

The extension has two parameters:

  • class – the name of the class which implements the programming interface of that extensions, and
  • name – the name of the extension.

The programming interface (Java language) for that extension is Interfejs programistyczny (język Java) dla tego rozszerzenia to pl.psnc.dlibra.app.extension.metadata.MetadataFinder. Szczegółowe informacje związane z tym interfejsem znajdują się w komentarzach metod i samego interfejsu For more information about that interface, see the comments on the methods and the interface (JavaDocs).

Lista domyślnie zainstalowanych rozszerzeń tego typu jest następująca:

There are four metadata extensions installed by default:

  • metadata import from the MARC format Import metadanych z formatu MARC (dlibra-app-extension-mf-marc).Import metadanych ,
  • metadata import from the XML format z formatu XML (dcore-app-extension-mf-xml).,
  • metadata import from the BibTeX format Import metadanych z formatu BibTeX (dlibra-app-extension-mf-bibtex).
  • Eksport w formacie RDF - to rozszerzenie jest zintegrowane z aplikacją redaktora i administratora - nie jest zdefiniowane w odrębnym projekcie.

Opis konfiguracji poszczególnych rozszerzeń można znaleźć tutaj.

Rozszerzenie fileParser

Rozszerzenie to odnajduje dla określonego pliku powiązane z nim inne pliki. W aplikacji redaktora i administratora po wybraniu pliku głównego (np. w kreatorze publikacji) następuje automatyczne sprawdzenie jakie inne pliki są a nim powiązane. W tym celu wykorzystywane są rozszerzenia fileParser. Domyślnie w aplikacji zainstalowane są rozszerzenia HTML oraz DjVu. Jeśli dla wybranego pliku nie ma zdefiniowanego rozszerzenia to redaktor musi sam zdecydować o tym, jakie pliki będą stanowić zawartość publikacji.

  • , and
  • export in the RDF format – that extension is integrated with the Editor and Administrator Application; it is not defined in a separate project.

The configuration of particular extensions is presented here.

The fileParser Extension

The fileParser Extension finds files related to a particular file. After the main file has been selected in the Editor and Administrator Application (for example, in the publication creator), the system automatically checks which files are related to that file – by default, with the use of fileParser extensions. By default, HTML and DjVu extensions are installed in the application. If no extension is defined for the selected file, the editor must decide what kind of files will be the content of the publication.

The extension has one parameter, class, which specifies the name of the class which implements the programming interface of the extension. The programming interface (Java language) for that extension is Rozszerzenie to przyjmuje jeden parametr class, który specyfikuje nazwę klasy implementującej interfejs programistyczny rozszerzenia. Interfejs programistyczny (język Java) dla tego rozszerzenia to pl.psnc.dlibra.app.extension.fileparser.FileParser. Szczegółowe informacje związane z tym interfejsem znajdują się w komentarzach metod i samego interfejsu For more information about that interface, see the comments on the methods and the interface (JavaDocs).

Lista domyślnie zainstalowanych rozszerzeń tego typu jest następująca:

The following extensions of that type are installed by default:

  • the DjVu format – that extension finds files related to the given DjVu file Format DjVu - rozszerzenie odnajduje pliki powiązane z danym plikiem w formacie DjVu (dcore-app-extension-fp-djvu).,Format HTML - rozszerzenie odnajduje pliki powiązane z danym plikiem w formacie HTML
  • the HTML format – that extension finds files related to the given HTML file (dcore-app-extension-fp-html).

...

The interfaceLanguage

...

Extension

The interfaceLanguage Extension makes it possible to add translations of the user interface of the Editor and Administrator Application. The default interfaceLanguage extensions are for Polish, English, and Ukrainian. The extension allows adding translations of the interface. Please contact us for the list of phrases/words for translation.

The extension has one parameter, class, which specifies the name of the class which implements the programming interface of the extension. The programming interface (Java language) for that extension is

Rozszerzenie to pozwala na dodawanie tłumaczeń interfejsu użytkownika aplikacji redaktora i administratora. Domyślnie w aplikacji zainstalowane są rozszerzenia dla języka polskiego, angielskiego i ukraińskiego. Poprzez to rozszerzenie można dodać tłumaczenie interfejsu w innych językach. Aby otrzymać listę fraz/słów do tłumaczenia prosimy o kontakt.

Rozszerzenie to przyjmuje jeden parametr class, który specyfikuje nazwę klasy implementującej interfejs programistyczny rozszerzenia. Interfejs programistyczny (język Java) dla tego rozszerzenia to pl.psnc.dlibra.app.extension.language.InterfaceLanguage. Szczegółowe informacje związane z tym interfejsem znajdują się w komentarzach metod i samego interfejsu For more information about that interface, see the comments on the methods and the interface (JavaDocs).

Lista domyślnie zainstalowanych rozszerzeń tego typu jest następująca:

The following extensions of that type are installed by default:

  • Polish – for making all user interface words/phrases available in Polish Polski - rozszerzenie udostępnia wszystkie słowa/frazy interfejsu użytkownika w języku polskim (dlibra-app-extension-il-pl).Angielski - rozszerzenie udostępnia wszystkie słowa/frazy interfejsu użytkownika w języku angielskim , and
  • English – for making all user interface words/phrases available in English (dlibra-app-extension-il-en).

...