fi.hut.tml.xsmiles.util
Class XSmilesConnectionWithContent

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

public class XSmilesConnectionWithContent
extends java.lang.Object
implements XSmilesConnection

Author:
honkkis

Field Summary
protected  XLink iLink
           
 
Constructor Summary
XSmilesConnectionWithContent(XLink aLink)
           
 
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

iLink

protected XLink iLink
Constructor Detail

XSmilesConnectionWithContent

public XSmilesConnectionWithContent(XLink aLink)
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