|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.transformation.client.TCFormatUtility
public class TCFormatUtility
This is a utility class for converting transformation catalog into different formats.
| Constructor Summary | |
|---|---|
TCFormatUtility()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TCFormatUtility()
| Method Detail |
|---|
public static String toTextFormat(TransformationStore mTCStore)
mTCStore - the transformation store
private static String toText(TransformationCatalogEntry entry,
String newline,
String indent)
entry - the transformation catalog entrynewline - the newline charactersindent - the indentation to use
private 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||