|
static String | getHello () |
| Returns a formatted String, a kind of a welcome screen of Pepper. More...
|
|
static String | getHello (int width, String eMail, String hp) |
| Returns a formatted String, a kind of a welcome screen of Pepper. More...
|
|
static String | breakString (String theString) |
| Breaks the String theString at position CONSOLE_WIDTH and adds a linebreak. More...
|
|
static String | breakString (String theString, int length) |
| Breaks the String theString at position length and adds a linebreak. More...
|
|
static String | breakString (String linePrefix, String theString) |
| Breaks the String theString at position CONSOLE_WIDTH and adds a linebreak. More...
|
|
static String | breakString (String linePrefix, String theString, int length) |
| Breaks the String theString at position length and adds a linebreak. More...
|
|
static String | breakString2 (StringBuilder output, final String theString, final int length) |
| Returns rest.
|
|
static String | createTable (Integer[] length, String[][] map, boolean hasHeader, boolean hasBlanks, boolean drawInnerVerticalLine) |
| Returns a table created from the passed Strings. More...
|
|
static synchronized File | getTempTestFile (String segments) |
| Returns a temporary folder, where all tests can store temporary files. More...
|
|
static synchronized File | getTempTestFile () |
| Returns a temporary folder, where all tests can store temporary files. More...
|
|
static synchronized File | getTempFile () |
| Returns a temporary folder, where Pepper and all modules can store temp files. More...
|
|
static synchronized File | getTempFile (String segments) |
| Returns a temporary folder, where Pepper and all modules can store temp files. More...
|
|
static synchronized File | getTempFile (String segments, String prefix) |
| Returns a temporary folder, where Pepper and all modules can store temp files. More...
|
|
static String | reportConfiguration (PepperConfiguration conf) |
| Returns a report as String containing the configuration for Pepper. More...
|
|
static String | reportModuleList (final int width, final Collection< PepperModuleDesc > moduleDescs, Map< Integer, PepperModuleDesc > number2module) |
| Creates a table containing all passed Pepper modules corresponding to their description and their fingerprint. More...
|
|
static String | reportModuleList (int width, Collection< PepperModuleDesc > moduleDescs) |
| Creates a table containing all passed Pepper modules corresponding to their description and their fingerprint. More...
|
|
static void | readXMLResource (DefaultHandler2 contentHandler, URI documentLocation) |
| Helper method to read an xml file with a DefaultHandler2 implementation given as contentHandler. More...
|
|
static CorpusDesc.Builder | createCorpusDesc () |
|
static< T > boolean | isNullOrEmpty (final Collection< T > collection) |
| Checks whether a collection is null or empty. More...
|
|
static< T > boolean | isNotNullOrEmpty (final Collection< T > collection) |
| Checks whether a collection is not null nor empty. More...
|
|
static synchronized File org.corpus_tools.pepper.common.PepperUtil.getTempFile |
( |
String |
segments | ) |
|
|
static |
Returns a temporary folder, where Pepper and all modules can store temp files.
The returned temporary folder is a combination of the systems standard temp folder, the prefix 'pepper', and the users name or a randomized unique sequence of characters, if the user name is not available and suffixed by the passed segments.
- Returns
- path, where to store temporary files
- Parameters
-
segments | segments or subfolders to be attached to the created temp folder, subfolders are separated by '/' |
- Returns
static synchronized File org.corpus_tools.pepper.common.PepperUtil.getTempFile |
( |
String |
segments, |
|
|
String |
prefix |
|
) |
| |
|
static |
Returns a temporary folder, where Pepper and all modules can store temp files.
The returned temporary folder is a combination of the systems standard temp folder, the prefix 'pepper', and the users name or a randomized unique sequence of characters, if the user name is not available and suffixed by the passed segments.
- Returns
- path, where to store temporary files
- Parameters
-
segments | segments or subfolders to be attached to the created temp folder, subfolders are separated by '/' |
prefix | the prefix to be used like 'pepper' or pepper-test etc. |
- Returns
static synchronized File org.corpus_tools.pepper.common.PepperUtil.getTempTestFile |
( |
| ) |
|
|
static |
Returns a temporary folder, where all tests can store temporary files.
The returned temporary folder is a combination of the systems standard temp folder, the prefix 'pepper', and the users name or a randomized unique sequence of characters, if the user name is not available and suffixed by the passed segments.
- Returns
- path, where to store temporary files
static synchronized File org.corpus_tools.pepper.common.PepperUtil.getTempTestFile |
( |
String |
segments | ) |
|
|
static |
Returns a temporary folder, where all tests can store temporary files.
The returned temporary folder is a combination of the systems standard temp folder, the prefix 'pepper', and the users name or a randomized unique sequence of characters, if the user name is not available and suffixed by the passed segments.
- Returns
- path, where to store temporary files
- Parameters
-
segments | segments or subfolders to be attached to the created temp folder, subfolders are separated by '/' |