All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mathieudebrito.translator.Translator Maven / Gradle / Ivy

The newest version!
package com.github.mathieudebrito.translator;

import java.util.ArrayList;
import java.util.List;

public interface Translator {

    public void init(Config config);

    public void translate();

    public class Config {

        /**
         * The language in which the entry is translated
         */
        public Language languageFrom = Language.ENGLISH;

        /**
         * The language in which the entry has languageTo be translated
         */
        public List languageTo = new ArrayList();

        /**
         * The language to be exclude from being translated
         * Default : none
         */
        public List excludes = new ArrayList();

        /**
         * The file(s) that contains the entries
         */
        public List files = new ArrayList();

        /**
         * Google API Key
         */
        public String key = null;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy