synergynetframework.appsystem.launcher.client
Class RetrievalSystem
java.lang.Object
synergynetframework.appsystem.launcher.client.RetrievalSystem
public class RetrievalSystem
- extends java.lang.Object
The Class RetrievalSystem.
Method Summary |
static java.lang.String |
getMD5(java.io.File f)
Gets the m d5. |
static void |
retrieveDistribution(java.io.File targetDirectory,
java.net.URL baseURL,
java.io.InputStream configXMLInputStream)
Retrieve distribution. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetrievalSystem
public RetrievalSystem()
getMD5
public static java.lang.String getMD5(java.io.File f)
throws java.security.NoSuchAlgorithmException,
java.io.IOException
- Gets the m d5.
- Parameters:
f
- the f
- Returns:
- the m d5
- Throws:
java.security.NoSuchAlgorithmException
- the no such algorithm exception
java.io.IOException
- Signals that an I/O exception has occurred.
retrieveDistribution
public static void retrieveDistribution(java.io.File targetDirectory,
java.net.URL baseURL,
java.io.InputStream configXMLInputStream)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
javax.xml.xpath.XPathExpressionException,
java.security.NoSuchAlgorithmException
- Retrieve distribution.
- Parameters:
targetDirectory
- the target directorybaseURL
- the base urlconfigXMLInputStream
- the config xml input stream
- Throws:
org.xml.sax.SAXException
- the SAX exception
java.io.IOException
- Signals that an I/O exception has occurred.
javax.xml.parsers.ParserConfigurationException
- the parser configuration exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
javax.xml.xpath.XPathExpressionException
- the x path expression exception
java.security.NoSuchAlgorithmException
- the no such algorithm exception