public final class FSUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BINARY_FILE_EXTENSION
The extension of Kieker's binary record files.
|
static java.lang.String |
ENCODING
The encoding usually used within Kieker.
|
static java.lang.String |
FILE_PREFIX
The prefix of Kieker's record files.
|
static java.lang.String |
GZIP_FILE_EXTENSION
The extension of Kieker's gzipped record files.
|
static java.lang.String |
LEGACY_FILE_PREFIX
The old prefix of Kieker's record files.
|
static java.lang.String |
LEGACY_MAP_FILENAME
The old name of Kieker's map files.
|
static java.lang.String |
MAP_FILE_EXTENSION
The extension of Kieker's mapping files.
|
static java.lang.String |
MAP_FILENAME
The name of Kieker's map files.
|
static java.lang.String |
NORMAL_FILE_EXTENSION
The usual extension of Kieker's record files.
|
static java.lang.String |
ZIP_FILE_EXTENSION
The extension of Kieker's zipped record files.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decodeNewline(java.lang.String str)
Decodes the given line (replaces
\\\\ with \\ , \\r with \r and \\n with
\n ). |
static java.lang.String |
encodeNewline(java.lang.String str)
Encodes the given line (replaces
\\ with \\\\ , \r with \\r and \n with
\\n ). |
static java.util.Collection<java.io.File> |
listFilesRecursively(java.nio.file.Path startDirectory,
java.lang.String postfixRegexNamePattern) |
public static final java.lang.String FILE_PREFIX
public static final java.lang.String MAP_FILENAME
public static final java.lang.String LEGACY_FILE_PREFIX
public static final java.lang.String LEGACY_MAP_FILENAME
public static final java.lang.String NORMAL_FILE_EXTENSION
public static final java.lang.String ZIP_FILE_EXTENSION
public static final java.lang.String GZIP_FILE_EXTENSION
public static final java.lang.String BINARY_FILE_EXTENSION
public static final java.lang.String MAP_FILE_EXTENSION
public static final java.lang.String ENCODING
public static final java.lang.String encodeNewline(java.lang.String str)
\\
with \\\\
, \r
with \\r
and \n
with
\\n
).str
- The string to encode.public static final java.lang.String decodeNewline(java.lang.String str)
\\\\
with \\
, \\r
with \r
and \\n
with
\n
).str
- The string to decode.public static java.util.Collection<java.io.File> listFilesRecursively(java.nio.file.Path startDirectory, java.lang.String postfixRegexNamePattern)
startDirectory
- postfixRegexNamePattern
- to be used for the matchingstartDirectory
and all its subdirectoriesCopyright 2017 Kieker Project, http://kieker-monitoring.net