public class PorUtils
extends java.lang.Object
Constructor and Description |
---|
PorUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
PORtoITL(Por POR)
Get a POR as ITL
|
static Parameter[] |
readParameters(org.w3c.dom.NodeList nList)
Read parameters from a xml node list
|
static Por |
readPorfromDocument(org.w3c.dom.Document doc)
Read POR from a XML document
|
static Por |
readPORfromFile(java.lang.String file)
read POR from a xml file
|
static SuperPor |
readPORGfromFile(java.lang.String fileName)
Read a SuperPor from a PORG (zip file containing individual PORs)
|
static SequenceProfile[] |
readProfiles(org.w3c.dom.NodeList nList)
Read profiles from a xml node list
|
static void |
savePor(Por POR)
Save POR into a xml file
|
static void |
writeITLtofile(java.lang.String file,
Por POR)
save POR as ITL file
|
static void |
writeORCDtoXMLfile(java.lang.String file,
Orcd orcd)
Write the ORCD into a XML file
|
static void |
writePORGtofile(java.lang.String file,
SuperPor por)
Write a SuperPor as a PORG (zip file containing individual PORs)
|
static void |
writePORtofile(java.lang.String file,
Por POR)
save POR into a xml file
|
static void |
zipIt(java.lang.String zipFile,
java.lang.String sourceFolder)
ZIP the contents of folder into a zip file
|
public static void writePORGtofile(java.lang.String file, SuperPor por)
file
- por
- public static SuperPor readPORGfromFile(java.lang.String fileName) throws java.io.IOException
fileName
- java.io.IOException
public static Por readPorfromDocument(org.w3c.dom.Document doc)
doc
- public static Por readPORfromFile(java.lang.String file)
file
- public static Parameter[] readParameters(org.w3c.dom.NodeList nList) throws java.io.IOException
nList
- java.io.IOException
public static SequenceProfile[] readProfiles(org.w3c.dom.NodeList nList)
nList
- public static void savePor(Por POR)
POR
- public static void writePORtofile(java.lang.String file, Por POR)
file
- POR
- public static void writeITLtofile(java.lang.String file, Por POR)
file
- POR
- public static void writeORCDtoXMLfile(java.lang.String file, Orcd orcd)
file
- orcd
- public static java.lang.String PORtoITL(Por POR)
POR
- public static void zipIt(java.lang.String zipFile, java.lang.String sourceFolder)
zipFile
- sourceFolder
-