updated API description

This commit is contained in:
2019-09-14 17:54:26 +02:00
parent 13d16a1309
commit 6348f81bed
53 changed files with 487 additions and 670 deletions

View File

@ -25,7 +25,7 @@ import java.util.Date;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class DateUtil {

View File

@ -20,7 +20,7 @@ import java.util.Locale;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public abstract class OSUtil {

View File

@ -17,7 +17,7 @@ package de.muehlencord.shared.util;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class SecurityException extends Exception {

View File

@ -17,7 +17,7 @@ package de.muehlencord.shared.util;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class StringEncodingException extends Exception {

View File

@ -19,13 +19,12 @@ import java.io.UnsupportedEncodingException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.ParseException;
import java.util.HashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public abstract class StringUtil {
@ -72,15 +71,11 @@ public abstract class StringUtil {
}
/**
* fills s with blanks if s < length
*
*
*
*
* fills s with blanks if s &lt; length
*
* @param length the needed length for this field
* @param s the field to extend with blanks
* @return s extended by trainling blanks. s.length == length
* @return s extended by trailing blanks. s.length == length
*/
public static String getBlankedString(int length, String s) {
if (s == null) {
@ -100,7 +95,7 @@ public abstract class StringUtil {
*
* @param content the string to get the value from
* @param keyWord1 the starting keyword
* @param keyWord2 the end keywod
* @param keyWord2 the end keyword
* @return the string between keyword1 and keyword2
* @throws ParseException if the value cannot be determined - e.g. if one of the keywords is not found
*/

View File

@ -23,7 +23,7 @@ import java.util.Map;
/**
* Defines possbile file Byte Order Marks used in files.
*
* @see http://en.wikipedia.org/wiki/Byte-order_mark
* @see <a href="https://en.wikipedia.org/wiki/Byte-order_mark">https://en.wikipedia.org/wiki/Byte-order_mark</a>
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class BOM {

View File

@ -29,7 +29,7 @@ public class BOMStripperInputStream extends PushbackInputStream {
/**
* List of all possible BOMS
*
* @see http://en.wikipedia.org/wiki/Byte-order_mark for details
* @see <a href="https://en.wikipedia.org/wiki/Byte-order_mark">https://en.wikipedia.org/wiki/Byte-order_mark</a>
*/
protected static final int[][] BOMS = {
BOM.BOM_UTF32_BE,

View File

@ -19,7 +19,7 @@ import java.io.Serializable;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class FileHandlingException extends Exception implements Serializable {

View File

@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public abstract class FileUtil {

View File

@ -21,7 +21,7 @@ import java.io.InputStream;
/**
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public abstract class DefaultTest {

View File

@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test;
/**
* Basic StringUtilTests
*
* @author joern@muehlencord.de
* @author Joern Muehlencord (joern@muehlencord.de)
*/
public class StringUtilTest extends DefaultTest {