All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ice.protocols.jam.JamConnection

java.lang.Object
   |
   +----java.net.URLConnection
           |
           +----ice.protocols.jam.JamConnection

public class JamConnection
extends URLConnection
implements FileNameMap
Class for accessing resources inside JAR files.


Method Index

 o connect()
 o getContent()
 o getContentType()
 o getContentTypeFor(String)
Returns the content type of the resource we are loading from the JAR file.
 o getInputStream()

Methods

 o connect
 public void connect() throws IOException
Overrides:
connect in class URLConnection
 o getContent
 public Object getContent() throws IOException
Overrides:
getContent in class URLConnection
 o getContentType
 public String getContentType()
Overrides:
getContentType in class URLConnection
 o getInputStream
 public InputStream getInputStream() throws IOException
Overrides:
getInputStream in class URLConnection
 o getContentTypeFor
 public String getContentTypeFor(String fileName)
Returns the content type of the resource we are loading from the JAR file. We currently only return a few basic types:
text/html
application/zip
text/plain


All Packages  Class Hierarchy  This Package  Previous  Next  Index