diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-10 21:10:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-10 21:10:18 +0000 |
commit | 275865ed49aaf567eb93f9405e4595a514483a4b (patch) | |
tree | 624fc2d2da441718e7529fd36c117b89bda86d38 /Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java | |
parent | 33452f6039ba5535d9d9c6fcc58f7a9aad6ce91d (diff) |
arara (10jul18)
git-svn-id: svn://tug.org/texlive/trunk@48183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java')
-rw-r--r-- | Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java | 137 |
1 files changed, 0 insertions, 137 deletions
diff --git a/Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java b/Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java deleted file mode 100644 index b04e9850236..00000000000 --- a/Master/texmf-dist/source/support/arara/src/main/java/com/github/arara/model/AraraLanguage.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * \cond LICENSE - * Arara -- the cool TeX automation tool - * Copyright (c) 2012, Paulo Roberto Massa Cereda - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * 3. Neither the name of the project's author nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * \endcond - * - * AraraLanguage: This class holds the data model for the arara language - * specification. - */ -// package definition. -package com.github.arara.model; - -// needed import -import java.util.Locale; - -/** - * Holds the data model for the arara language specification. - * - * @author Paulo Roberto Massa Cereda - * @version 3.0a - * @since 3.0 - */ -public class AraraLanguage { - - // language name - private String name; - // language code - private String code; - // language locale - private Locale locale; - - /** - * Getter for the language name. - * - * @return The language name. - */ - public String getName() { - return name; - } - - /** - * Setter for the language name. - * - * @param name The language name. - */ - public void setName(String name) { - this.name = name; - } - - /** - * Getter for the language code. - * - * @return The language code. - */ - public String getCode() { - return code; - } - - /** - * Setter for the language code. - * - * @param code The language code. - */ - public void setCode(String code) { - this.code = code; - } - - /** - * Getter for the language locale. - * - * @return The language locale. - */ - public Locale getLocale() { - return locale; - } - - /** - * Setter for the language locale. - * - * @param locale The language locale. - */ - public void setLocale(Locale locale) { - this.locale = locale; - } - - /** - * Constructor. - * - * @param name The language name. - * @param code The language code. - * @param locale The language locale. - */ - public AraraLanguage(String name, String code, Locale locale) { - this.name = name; - this.code = code; - this.locale = locale; - } - - /** - * Returns a string representation of the object. - * - * @return The string representation of the object. - */ - @Override - public String toString() { - return name.concat(" [").concat(code).concat("]"); - } -} |