|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.atom.archive.SrampArchiveJaxbUtils
public class SrampArchiveJaxbUtils
Utility methods for using jaxb.
| Constructor Summary | |
|---|---|
SrampArchiveJaxbUtils()
|
|
| Method Summary | |
|---|---|
static BaseArtifactType |
readMetaData(File metaDataFile)
Reads the meta-data (*.atom) file and returns a JAXB object. |
static void |
writeMetaData(File outputFile,
BaseArtifactType artifact)
Writes the artifact meta-data to the given working path. |
static void |
writeMetaData(File outputFile,
BaseArtifactType artifact,
boolean wrap)
Writes the artifact meta-data to the given working path. |
static void |
writeMetaData(OutputStream outputStream,
BaseArtifactType artifact)
Writes the artifact meta-data to the given output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SrampArchiveJaxbUtils()
| Method Detail |
|---|
public static BaseArtifactType readMetaData(File metaDataFile)
throws JAXBException
metaDataFile -
JAXBException
public static void writeMetaData(File outputFile,
BaseArtifactType artifact)
throws JAXBException
outputFile - artifact -
JAXBException
public static void writeMetaData(File outputFile,
BaseArtifactType artifact,
boolean wrap)
throws JAXBException
outputFile - artifact - wrap -
JAXBException
public static void writeMetaData(OutputStream outputStream,
BaseArtifactType artifact)
throws JAXBException
outputStream - artifact -
JAXBException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||