org.apache.jmeter.save.converters
public class ConversionHelp extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATT_CLASS |
static String |
ATT_ELEMENT_TYPE |
static String |
ATT_NAME |
Constructor and Description |
---|
ConversionHelp() |
Modifier and Type | Method and Description |
---|---|
static String |
cdata(byte[] chars,
String encoding) |
static String |
decode(String p) |
static String |
encode(String p)
Encode a string (if necessary) for output to a JTL file.
|
static boolean |
isSpecialProperty(String name) |
static void |
restoreSpecialProperties(TestElement testElement,
com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
Restore the special properties:
TestElement.GUI_CLASS
TestElement.TEST_CLASS
TestElement.NAME
TestElement.ENABLED
|
static void |
saveSpecialProperties(TestElement testElement,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
Save the special properties:
TestElement.GUI_CLASS
TestElement.TEST_CLASS
TestElement.NAME
TestElement.ENABLED
|
static void |
setInVersion(String v) |
static void |
setOutVersion(String v) |
public static final String ATT_CLASS
public static final String ATT_NAME
public static final String ATT_ELEMENT_TYPE
public static void setInVersion(String v)
public static void setOutVersion(String v)
public static String encode(String p)
p
- string to encodepublic static String cdata(byte[] chars, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public static boolean isSpecialProperty(String name)
public static void saveSpecialProperties(TestElement testElement, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
testElement
- writer
- public static void restoreSpecialProperties(TestElement testElement, com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
testElement
- reader
- Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.