|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.datastore.update.ImportFromV2
public class ImportFromV2
ImportFromV2.
| Constructor Summary | |
|---|---|
ImportFromV2(boolean manual)
|
|
| Method Summary | |
|---|---|
protected void |
convert(File sourceFile,
File destFile,
URL stylesheetURL)
Converti un fichier XML en lui applicant un fichier XSL |
protected String |
getVersionEnd(URL xslurl)
|
protected URL[] |
getXSLFile(String versionStart,
String versionEnd)
Retourne les fichiers xsl qu'il faut appliquer dans l'ordre qu'il faut. |
void |
importXML(File xml)
Converti un fichier XML version 2 en un zip importable en v3 |
static void |
main(String[] args)
|
protected List<org.dom4j.Element> |
selectElements(org.dom4j.Node node,
String path)
|
protected List<org.dom4j.Node> |
selectNodes(org.dom4j.Node node,
String path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportFromV2(boolean manual)
| Method Detail |
|---|
protected URL[] getXSLFile(String versionStart,
String versionEnd)
versionStart - la version de départ du fichierversionEnd - la version auquel doit arriver le fichier
protected String getVersionEnd(URL xslurl)
protected void convert(File sourceFile,
File destFile,
URL stylesheetURL)
throws Exception
sourceFile - le fichier source XMLdestFile - le fichier résultat de l'opérationstylesheetURL - l'url de la feuille de style a appliquer
Exception
protected List<org.dom4j.Node> selectNodes(org.dom4j.Node node,
String path)
protected List<org.dom4j.Element> selectElements(org.dom4j.Node node,
String path)
public void importXML(File xml)
throws Exception
xml -
Exception
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||