Kieker 1.12

kieker.common.util.filesystem
Class FSUtil

java.lang.Object
  extended by kieker.common.util.filesystem.FSUtil

public final class FSUtil
extends java.lang.Object

Since:
1.7
Author:
Jan Waller

Field Summary
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 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_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.
 
Method Summary
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_PREFIX

public static final java.lang.String FILE_PREFIX
The prefix of Kieker's record files.

See Also:
Constant Field Values

MAP_FILENAME

public static final java.lang.String MAP_FILENAME
The name of Kieker's map files.

See Also:
Constant Field Values

LEGACY_FILE_PREFIX

public static final java.lang.String LEGACY_FILE_PREFIX
The old prefix of Kieker's record files.

See Also:
Constant Field Values

LEGACY_MAP_FILENAME

public static final java.lang.String LEGACY_MAP_FILENAME
The old name of Kieker's map files.

See Also:
Constant Field Values

NORMAL_FILE_EXTENSION

public static final java.lang.String NORMAL_FILE_EXTENSION
The usual extension of Kieker's record files.

See Also:
Constant Field Values

ZIP_FILE_EXTENSION

public static final java.lang.String ZIP_FILE_EXTENSION
The extension of Kieker's zipped record files.

See Also:
Constant Field Values

ENCODING

public static final java.lang.String ENCODING
The encoding usually used within Kieker.

See Also:
Constant Field Values
Method Detail

encodeNewline

public static final java.lang.String encodeNewline(java.lang.String str)
Encodes the given line (replaces \\ with \\\\, \r with \\r and \n with \\n).

Parameters:
str - The string to encode.
Returns:
The modified string.

decodeNewline

public static final java.lang.String decodeNewline(java.lang.String str)
Decodes the given line (replaces \\\\ with \\, \\r with \r and \\n with \n).

Parameters:
str - The string to decode.
Returns:
The modified string.

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net