Package org.corpus_tools.pepper.cli
Class Greet
- java.lang.Object
-
- org.corpus_tools.pepper.cli.Greet
-
public class Greet extends Object
-
-
Constructor Summary
Constructors Constructor Description Greet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringfillUpBlanks(String text, int length)Fills up a string with blanks until length.static StringgetGoodBye(int width)static StringgetHello()Returns a formatted String, a kind of a welcome screen of Pepper.static StringgetHello(int width, String eMail, String hp)Returns a formatted String, a kind of a welcome screen of Pepper.
-
-
-
Method Detail
-
fillUpBlanks
public static String fillUpBlanks(String text, int length)
Fills up a string with blanks until length.- Parameters:
text-length-- Returns:
-
getHello
public static String getHello() throws ParseException
Returns a formatted String, a kind of a welcome screen of Pepper.- Returns:
- welcome screen
- Throws:
ParseException
-
getHello
public static String getHello(int width, String eMail, String hp) throws ParseException
Returns a formatted String, a kind of a welcome screen of Pepper.- Returns:
- welcome screen
- Throws:
ParseException
-
getGoodBye
public static String getGoodBye(int width)
-
-