edu.isi.pegasus.planner.catalog.transformation.client
public class TCFormatUtility extends Object
Constructor and Description |
---|
TCFormatUtility() |
Modifier and Type | Method and Description |
---|---|
private static void |
addLineToText(StringBuffer sb,
String newIndent,
String newline,
String key,
String value)
Convenience method to add a line to the internal textual representation.
|
static void |
printXMLFormat(TransformationStore tStore)
Prints the transformations in XML format
|
private static String |
quote(String str)
Quotes a String.
|
private static String |
toText(TransformationCatalogEntry entry,
String newline,
String indent)
Converts the transformation catalog entry object to the multi line
textual representation.
|
static String |
toTextFormat(TransformationStore mTCStore)
Converts the transformations into multi line text format
|
public static String toTextFormat(TransformationStore mTCStore)
mTCStore
- the transformation storeprivate static String toText(TransformationCatalogEntry entry, String newline, String indent)
entry
- the transformation catalog entrynewline
- the newline charactersindent
- the indentation to useprivate static void addLineToText(StringBuffer sb, String newIndent, String newline, String key, String value)
sb
- the StringBuffer to which contents are to be added.newIndent
- the indentationkey
- the keyvalue
- the valueprivate static String quote(String str)
str
- the String to be quoted.public static void printXMLFormat(TransformationStore tStore)
tStore
- the transformation store