fi.hut.tml.xsmiles.util
Class XSmilesConnectionJava

java.lang.Object
  extended byfi.hut.tml.xsmiles.util.XSmilesConnectionJava
All Implemented Interfaces:
XSmilesConnection

public class XSmilesConnectionJava
extends java.lang.Object
implements XSmilesConnection

Author:
honkkis

Field Summary
protected  java.net.URLConnection urlConnection
           
 
Constructor Summary
XSmilesConnectionJava(java.net.URLConnection conn)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.net.URL getURL()
           
 void releaseConnection()
          YOU MUST CALL THIS METHOD AFTER READING THE CONTENTS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlConnection

protected java.net.URLConnection urlConnection
Constructor Detail

XSmilesConnectionJava

public XSmilesConnectionJava(java.net.URLConnection conn)
Method Detail

getURL

public java.net.URL getURL()
Specified by:
getURL in interface XSmilesConnection

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface XSmilesConnection
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface XSmilesConnection

releaseConnection

public void releaseConnection()
Description copied from interface: XSmilesConnection
YOU MUST CALL THIS METHOD AFTER READING THE CONTENTS

Specified by:
releaseConnection in interface XSmilesConnection


X-Smiles 1.2