jetbrains.buildServer.agentServer
Class DetailsSerializationUtil

java.lang.Object
  extended by jetbrains.buildServer.agentServer.DetailsSerializationUtil

public class DetailsSerializationUtil
extends java.lang.Object

NOTE: This code is used for agent-server messages serialization/deserialization! NOTE: Changing the code may broke agent connection

Author:
Eugene Petrenko

Constructor Summary
DetailsSerializationUtil()
           
 
Method Summary
static org.jdom.Document loadDocument(java.lang.String savedDocumentString)
           
static java.lang.String saveDocument(org.jdom.Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailsSerializationUtil

public DetailsSerializationUtil()
Method Detail

saveDocument

public static java.lang.String saveDocument(@NotNull
                                            org.jdom.Document document)
                                     throws java.io.IOException
Throws:
java.io.IOException

loadDocument

public static org.jdom.Document loadDocument(@NotNull
                                             java.lang.String savedDocumentString)
                                      throws java.io.IOException,
                                             org.jdom.JDOMException
Throws:
java.io.IOException
org.jdom.JDOMException