|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.URLConnection
com.metamatrix.common.protocol.MMURLConnection
com.metamatrix.common.protocol.classpath.ClasspathURLConnection
public class ClasspathURLConnection
Connection object to a resource in a Classpath. can not use the PluginUtill logging beacuse their dependencies
Field Summary | |
---|---|
static java.lang.String |
PROTOCOL
|
Fields inherited from class com.metamatrix.common.protocol.MMURLConnection |
---|
action, ALPHA, DATE, DELETE, FILE_LIST_SORT, LIST, props, READ, REVERSEALPHA, WRITE |
Fields inherited from class java.net.URLConnection |
---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Constructor Summary | |
---|---|
ClasspathURLConnection(java.net.URL u)
ctor |
Method Summary | |
---|---|
void |
connect()
Connect to the supplied URL |
java.io.InputStream |
getInputStream()
|
Methods inherited from class java.net.URLConnection |
---|
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String PROTOCOL
Constructor Detail |
---|
public ClasspathURLConnection(java.net.URL u)
u
- - URL to open the connection toMethod Detail |
---|
public void connect() throws java.io.IOException
connect
in class java.net.URLConnection
java.io.IOException
URLConnection.connect()
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
URLConnection.getInputStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |