Enum DBaseCodePage

    • Enum Constant Detail

      • DOS_USA

        public static final DBaseCodePage DOS_USA
        DOS USA codepage.
      • DOS_MULTI_LINGUAL

        public static final DBaseCodePage DOS_MULTI_LINGUAL
        DOS Multilingual codepage.
      • DOS_EAST_EUROPE

        public static final DBaseCodePage DOS_EAST_EUROPE
        DOS Central/East Europe codepage.
      • DOS_NORDIC

        public static final DBaseCodePage DOS_NORDIC
        DOS Nordic codepage.
      • DOS_RUSSIAN

        public static final DBaseCodePage DOS_RUSSIAN
        DOS Russian codepage.
      • DOS_ICELANDIC

        public static final DBaseCodePage DOS_ICELANDIC
        DOS Icelandic codepage.
      • DOS_KAMENICKY

        public static final DBaseCodePage DOS_KAMENICKY
        DOS Kamenicky/Czech codepage.
      • DOS_MAZOVIA

        public static final DBaseCodePage DOS_MAZOVIA
        DOS Mazovia/Polish codepage.
      • DOS_GREEK

        public static final DBaseCodePage DOS_GREEK
        DOS Greek codepage.
      • DOS_TURKISH

        public static final DBaseCodePage DOS_TURKISH
        DOS Turkish codepage.
      • WINDOWS_STANDARD

        public static final DBaseCodePage WINDOWS_STANDARD
        Windows Standard codepage 1252.
      • WINDOWS_EAST_EUROPE

        public static final DBaseCodePage WINDOWS_EAST_EUROPE
        Windows East Europe codepage 1250.
      • WINDOWS_RUSSIAN

        public static final DBaseCodePage WINDOWS_RUSSIAN
        Windows Russian codepage.
      • WINDOWS_TURKISH

        public static final DBaseCodePage WINDOWS_TURKISH
        Windows Turkish codepage.
      • WINDOWS_GREEK

        public static final DBaseCodePage WINDOWS_GREEK
        Windows Greek codepage.
      • MACINTOSH_STANDARD

        public static final DBaseCodePage MACINTOSH_STANDARD
        Standard Macintosh.
      • MACINTOSH_RUSSIAN

        public static final DBaseCodePage MACINTOSH_RUSSIAN
        Macintosh Russian codepage.
      • MACINTOSH_EAST_EUROPE

        public static final DBaseCodePage MACINTOSH_EAST_EUROPE
        Macintosh East Europe codepage.
      • MACINTOSH_GREEK

        public static final DBaseCodePage MACINTOSH_GREEK
        Macintosh Greek codepage.
    • Method Detail

      • values

        public static DBaseCodePage[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DBaseCodePage c : DBaseCodePage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DBaseCodePage valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLanguageCode

        @Pure
        public byte getLanguageCode()
        Replies the dBASE language code associated to this code page.
        Returns:
        the dBASE language code associated to this code page.
      • getChatset

        @Pure
        public Charset getChatset()
        Replies the charset.
        Returns:
        the charset or null if unknown
      • fromLanguageCode

        @Pure
        public static DBaseCodePage fromLanguageCode​(byte code)
        Replies the code page which is corresponding to the given dBASE language code.
        Parameters:
        code - the language code.
        Returns:
        the code page, or null if not found.
      • fromCharset

        @Pure
        public static DBaseCodePage fromCharset​(Charset charset)
        Replies the code page which is corresponding to the given charset.
        Parameters:
        charset - the character set.
        Returns:
        the code page, or null if not found.
      • fromCharset

        @Pure
        public static DBaseCodePage fromCharset​(String charset)
        Replies the code page which is corresponding to the given charset.
        Parameters:
        charset - the character set.
        Returns:
        the code page, or null if not found.