Class PropertyLoader


  • public class PropertyLoader
    extends java.lang.Object
    Central class to load and define graphical properties and parameters for the data submission and publication tool
    • Field Detail

      • AGREEMENT_PANEL_PROPERTY

        public static final java.lang.String AGREEMENT_PANEL_PROPERTY
        See Also:
        Constant Field Values
      • AGREEMENT_PDF_PROPERTY

        public static final java.lang.String AGREEMENT_PDF_PROPERTY
        See Also:
        Constant Field Values
      • PGP_CONTRACT_URL

        public static java.net.URL PGP_CONTRACT_URL
      • ADOBE_GET_URL

        public static java.net.URL ADOBE_GET_URL
      • EDAL_LOGO

        public static java.awt.Image EDAL_LOGO
      • EDAL_ICON

        public static java.awt.Image EDAL_ICON
      • PDF_ICON

        public static javax.swing.ImageIcon PDF_ICON
      • ADOBE_ICON

        public static javax.swing.ImageIcon ADOBE_ICON
      • props

        public static java.util.Properties props
      • userValues

        public static java.util.Properties userValues
      • RUNNING_PATH

        public static java.nio.file.Path RUNNING_PATH
      • HEADER_FOOTER_COLOR

        public static final java.awt.Color HEADER_FOOTER_COLOR
      • MAIN_BACKGROUND_COLOR

        public static final java.awt.Color MAIN_BACKGROUND_COLOR
      • LABEL_COLOR

        public static final java.awt.Color LABEL_COLOR
      • MAIN_FONT_COLOR

        public static final java.awt.Color MAIN_FONT_COLOR
      • DISABLED_FONT_COLOR

        public static final java.awt.Color DISABLED_FONT_COLOR
      • OPEN_ACCESS_COLOR

        public static final java.awt.Color OPEN_ACCESS_COLOR
      • TABLE_HAS_VALUE_BACKGROUND_COLOR

        public static final java.awt.Color TABLE_HAS_VALUE_BACKGROUND_COLOR
      • OPEN_ACCESS_FONT

        public static final java.awt.Font OPEN_ACCESS_FONT
      • ATTRIBUTE_LABEL_FONT_SIZE

        public static final int ATTRIBUTE_LABEL_FONT_SIZE
        See Also:
        Constant Field Values
      • DEFAULT_FONT

        public static final java.awt.Font DEFAULT_FONT
      • AGREEMENT_PANEL_FONT

        public static final java.awt.Font AGREEMENT_PANEL_FONT
      • DESCRIPTION_PANEL_HEIGHT

        public static final int DESCRIPTION_PANEL_HEIGHT
        See Also:
        Constant Field Values
      • MINIMUM_DIM_PUBLICATION_FRAME

        public static final java.awt.Dimension MINIMUM_DIM_PUBLICATION_FRAME
      • SUPPORTED_LICENSES

        public static java.util.List<java.lang.String> SUPPORTED_LICENSES
      • SUPPORTED_LICENSES_LEGAL_CODE_URL

        public static java.util.List<java.lang.String> SUPPORTED_LICENSES_LEGAL_CODE_URL
      • SUPPORTED_LICENSES_HUMAN_READABLE_URL

        public static java.util.List<java.lang.String> SUPPORTED_LICENSES_HUMAN_READABLE_URL
      • RESOURCE_TYPES

        public static java.util.List<java.lang.String> RESOURCE_TYPES
    • Constructor Detail

      • PropertyLoader

        public PropertyLoader()
    • Method Detail

      • initialize

        public static void initialize​(java.lang.String propsFile)
      • loadSubjectsString

        public static java.lang.String loadSubjectsString()
      • loadPublisherString

        public static java.lang.String loadPublisherString()
      • loadAuthorsString

        public static java.lang.String loadAuthorsString()
      • setUserValue

        public static void setUserValue​(java.lang.String key,
                                        java.lang.String value)
      • loadLanguageString

        public static java.lang.String loadLanguageString()
      • loadResourceString

        public static java.lang.String loadResourceString()
      • loadUploadPathString

        public static java.lang.String loadUploadPathString()