org.eclipse.emf.test.build
Class TestUtil

java.lang.Object
  extended by org.eclipse.emf.test.build.TestUtil

public class TestUtil
extends java.lang.Object


Constructor Summary
TestUtil()
           
 
Method Summary
static java.net.URLConnection getConn(java.lang.String url, java.lang.String method, boolean in, boolean out, java.lang.String cookie)
           
static java.lang.String getPluginDirectory()
           
static java.util.HashMap<java.lang.String,java.lang.String> readFileAsHash(java.io.File file)
           
static java.lang.String slurpStream(java.net.URLConnection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtil

public TestUtil()
Method Detail

getPluginDirectory

public static java.lang.String getPluginDirectory()

getConn

public static java.net.URLConnection getConn(java.lang.String url,
                                             java.lang.String method,
                                             boolean in,
                                             boolean out,
                                             java.lang.String cookie)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

slurpStream

public static java.lang.String slurpStream(java.net.URLConnection conn)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

readFileAsHash

public static java.util.HashMap<java.lang.String,java.lang.String> readFileAsHash(java.io.File file)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.