com.metamatrix.common.protocol.mmrofile
Class MMROFileURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by com.metamatrix.common.protocol.MMURLConnection
          extended by com.metamatrix.common.protocol.mmfile.MMFileURLConnection
              extended by com.metamatrix.common.protocol.mmrofile.MMROFileURLConnection

public class MMROFileURLConnection
extends MMFileURLConnection

Metamatrix's own implementation of the "file:" URL handler. The purpose this handler is to behave the same way as the "mmfile" but, ignore any saves to the permenent stores. Strings are not externalized because of the fact that we have huge dependencies with our plugin stuff to eclipse.

Since:
5.0

Field Summary
static java.lang.String PROTOCOL
           
 
Fields inherited from class com.metamatrix.common.protocol.mmfile.MMFileURLConnection
DELETED
 
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
MMROFileURLConnection(java.net.URL u)
          ctor
 
Method Summary
 
Methods inherited from class com.metamatrix.common.protocol.mmfile.MMFileURLConnection
connect, getFile, getHeaderField, getInputStream, getLastModified, getOutputStream, getPermission
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, 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

PROTOCOL

public static java.lang.String PROTOCOL
Constructor Detail

MMROFileURLConnection

public MMROFileURLConnection(java.net.URL u)
                      throws java.net.MalformedURLException,
                             java.io.IOException
ctor

Parameters:
u - - URL to open the connection to
Throws:
java.net.MalformedURLException
java.io.IOException


Copyright © 2009. All Rights Reserved.