org.media.mn8.protocol.mbox
Class MboxURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--org.media.mn8.protocol.mbox.MboxURLConnection

public class MboxURLConnection
extends URLConnection

This class implements a connection to the new "mbox" URL scheme.


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
MboxURLConnection(URL getURL)
          Given a URL will instantiate a this object.
 
Method Summary
 void addMessageMbox(File file, String s)
           
 int checkMbox(File file)
           
 void connect()
           
 void deleteAllMbox(File file)
           
 void deleteMbox(File file, String s)
           
 String getCmd()
           
protected  void getConnection(File file, String id)
           
 Vector getHeadersMbox(File file, String s)
           
 Vector getIDsMbox(File file)
           
 InputStream getInputStream()
           
 Vector getMessagesMbox(File file, String s)
           
 String getResult()
           
 void setExpression(ExpressionConcept s)
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MboxURLConnection

public MboxURLConnection(URL getURL)
Given a URL will instantiate a this object.

Parameters:
getURL - The URL to contact.
Method Detail

connect

public void connect()
             throws IOException
Specified by:
connect in class URLConnection
IOException

getInputStream

public InputStream getInputStream()
                           throws IOException
Overrides:
getInputStream in class URLConnection
IOException

getResult

public String getResult()

getCmd

public String getCmd()

setExpression

public void setExpression(ExpressionConcept s)

getConnection

protected void getConnection(File file,
                             String id)
                      throws IOException
IOException

checkMbox

public int checkMbox(File file)
              throws IOException
IOException

deleteMbox

public void deleteMbox(File file,
                       String s)
                throws IOException
IOException

deleteAllMbox

public void deleteAllMbox(File file)
                   throws IOException
IOException

getHeadersMbox

public Vector getHeadersMbox(File file,
                             String s)
                      throws IOException
IOException

getMessagesMbox

public Vector getMessagesMbox(File file,
                              String s)
                       throws IOException
IOException

getIDsMbox

public Vector getIDsMbox(File file)
                  throws IOException
IOException

addMessageMbox

public void addMessageMbox(File file,
                           String s)
                    throws IOException
IOException


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."