Package kieker.common.util.filesystem
Class FSUtil
java.lang.Object
kieker.common.util.filesystem.FSUtil
- Since:
- 1.7
- Author:
- Jan Waller
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension of Kieker's binary record files.static final StringThe extension of Kieker's bzip2ed record files.static final StringThe usual extension of Kieker's record files.static final StringThe extension of Kieker's defalted record files.static final StringThe encoding usually used within Kieker.static final StringThe prefix of Kieker's record files.static final StringThe extension of Kieker's gzipped record files.static final StringThe old prefix of Kieker's record files.static final StringThe old name of Kieker's map files.static final StringThe extension of Kieker's mapping files.static final StringThe name of Kieker's map files.static final StringThe extension of Kieker's xz record files.static final StringThe extension of Kieker's zipped record files. -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringdecodeNewline(String str) Decodes the given line (replaces\\\\with\\,\\rwith\rand\\nwith\n).static final StringencodeNewline(String str) Encodes the given line (replaces\\with\\\\,\rwith\\rand\nwith\\n).
-
Field Details
-
FILE_PREFIX
The prefix of Kieker's record files.- See Also:
-
MAP_FILENAME
The name of Kieker's map files.- See Also:
-
LEGACY_FILE_PREFIX
The old prefix of Kieker's record files.- See Also:
-
LEGACY_MAP_FILENAME
The old name of Kieker's map files.- See Also:
-
DAT_FILE_EXTENSION
The usual extension of Kieker's record files.- See Also:
-
ZIP_FILE_EXTENSION
The extension of Kieker's zipped record files.- See Also:
-
DEFLATE_FILE_EXTENSION
The extension of Kieker's defalted record files.- See Also:
-
BZIP2_FILE_EXTENSION
The extension of Kieker's bzip2ed record files.- See Also:
-
GZIP_FILE_EXTENSION
The extension of Kieker's gzipped record files.- See Also:
-
XZ_FILE_EXTENSION
The extension of Kieker's xz record files.- See Also:
-
BINARY_FILE_EXTENSION
The extension of Kieker's binary record files.- See Also:
-
MAP_FILE_EXTENSION
The extension of Kieker's mapping files.- See Also:
-
ENCODING
The encoding usually used within Kieker.- See Also:
-
-
Method Details
-
encodeNewline
Encodes the given line (replaces\\with\\\\,\rwith\\rand\nwith\\n).- Parameters:
str- The string to encode.- Returns:
- The modified string.
-
decodeNewline
Decodes the given line (replaces\\\\with\\,\\rwith\rand\\nwith\n).- Parameters:
str- The string to decode.- Returns:
- The modified string.
-