Enum PepperExporter.EXPORT_MODE

    • Enum Constant Detail

      • CORPORA_ONLY

        public static final PepperExporter.EXPORT_MODE CORPORA_ONLY
        SCorpus objects are exported into a folder structure, but SDocument objects are not exported
      • DOCUMENTS_IN_FILES

        public static final PepperExporter.EXPORT_MODE DOCUMENTS_IN_FILES
        SCorpus objects are exported into a folder structure and SDocument objects are stored in files having the ending determined by PepperExporter#getDocumentEnding()
    • Method Detail

      • values

        public static PepperExporter.EXPORT_MODE[] 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 (PepperExporter.EXPORT_MODE c : PepperExporter.EXPORT_MODE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PepperExporter.EXPORT_MODE 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