Package es.uji.crypto.xades.jxades.util
Class SystemUtils
java.lang.Object
es.uji.crypto.xades.jxades.util.SystemUtils
Title:
Description:
Copyright: Copyright (c) 2006
Company:
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static DateFormat
private static DecimalFormat
private static final char[]
private static final char[]
static final String
static final String
static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(InputStream inStream, OutputStream outStream) static String
formatDate
(Object date) static String
formatDate
(Date date) static String
private static DateFormat
static DecimalFormat
static String
static String
static String
static String
static Date
static byte[]
toByteArray
(InputStream inStream) static char[]
toHexChars
(byte[] data) static String
toHexString
(byte[] data) static String
trimFileName
(String filePathName)
-
Field Details
-
KEY_PREFIX
- See Also:
-
KEY_APPLICATION_NAME
- See Also:
-
KEY_CLIENT_CONFIG_FOLDER
- See Also:
-
KEY_KEYSTORE_FOLDER
- See Also:
-
HEX_DIGITS
private static final char[] HEX_DIGITS -
EMPTY_CHAR_ARRAY
private static final char[] EMPTY_CHAR_ARRAY -
dateFormat
-
decimalFormat
-
-
Constructor Details
-
SystemUtils
public SystemUtils()
-
-
Method Details
-
getDateFormatter
-
formatDate
-
formatDate
-
parseDate
- Throws:
ParseException
-
getDecimalFormatter
-
getCauseMessages
-
getErrorMessage
-
toByteArray
- Throws:
IOException
-
copy
- Throws:
IOException
-
trimFileName
-
getOSName
-
getIOTempDir
-
getUserHome
-
toHexString
-
toHexChars
public static char[] toHexChars(byte[] data)
-