|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.xml.XmlTableIO
Static methods for reading and writing tables from/to XML files.
| Constructor Summary | |
protected |
XmlTableIO()
Creates a new instance of XmlTableReader |
| Method Summary | |
static void |
readTableGroupFromFile(EditContext editContext,
java.lang.String tableGroup,
java.io.File file)
Read the table group from the specified file into editContext without XML validation. |
static void |
readTableGroupFromUrl(EditContext editContext,
java.lang.String tableGroup,
java.lang.String urlSpec)
Read the table group from the URL file into editContext without XML validation. |
static void |
readTableGroupFromUrl(EditContext editContext,
java.lang.String tableGroup,
java.lang.String urlSpec,
boolean isValidating)
Read the table group from the URL file into editContext with the specified XML validation flag. |
static void |
writeTableGroupToFile(EditContext editContext,
java.lang.String group,
java.io.File file)
Write all tables associated with the specified group in editContext to an XML file. |
static void |
writeTableGroupToUrl(EditContext editContext,
java.lang.String group,
java.lang.String urlSpec)
Write all tables associated with the specified group in editContext to an XML file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected XmlTableIO()
| Method Detail |
public static void readTableGroupFromFile(EditContext editContext,
java.lang.String tableGroup,
java.io.File file)
throws UrlTool.FilePathException
UrlTool.FilePathException
public static void readTableGroupFromUrl(EditContext editContext,
java.lang.String tableGroup,
java.lang.String urlSpec)
public static void readTableGroupFromUrl(EditContext editContext,
java.lang.String tableGroup,
java.lang.String urlSpec,
boolean isValidating)
public static void writeTableGroupToFile(EditContext editContext,
java.lang.String group,
java.io.File file)
throws UrlTool.FilePathException
UrlTool.FilePathException
public static void writeTableGroupToUrl(EditContext editContext,
java.lang.String group,
java.lang.String urlSpec)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||