org.media.mn8.protocol.pop3
Class POP3URLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--org.media.mn8.protocol.pop3.POP3URLConnection

public class POP3URLConnection
extends URLConnection

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


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
POP3URLConnection(URL getURL)
          Given a URL will instantiate a POP3URLConnection object.
 
Method Summary
 int checkPop(com.oroinc.net.pop3.POP3Client client)
           
 void connect()
           
 void deleteAllPop(com.oroinc.net.pop3.POP3Client client)
           
 void deletePop(com.oroinc.net.pop3.POP3Client client, String messID)
           
 String getCommand()
           
 Vector getHeadersPop(com.oroinc.net.pop3.POP3Client client, String messID)
           
 Vector getIDsPop(com.oroinc.net.pop3.POP3Client client)
           
 InputStream getInputStream()
           
 Vector getMessagesPop(com.oroinc.net.pop3.POP3Client client, String messID)
           
 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

POP3URLConnection

public POP3URLConnection(URL getURL)
Given a URL will instantiate a POP3URLConnection 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

getCommand

public String getCommand()

getResult

public String getResult()

setExpression

public void setExpression(ExpressionConcept s)

checkPop

public int checkPop(com.oroinc.net.pop3.POP3Client client)
             throws IOException
IOException

deletePop

public void deletePop(com.oroinc.net.pop3.POP3Client client,
                      String messID)
               throws IOException
IOException

deleteAllPop

public void deleteAllPop(com.oroinc.net.pop3.POP3Client client)
                  throws IOException
IOException

getHeadersPop

public Vector getHeadersPop(com.oroinc.net.pop3.POP3Client client,
                            String messID)
                     throws IOException
IOException

getMessagesPop

public Vector getMessagesPop(com.oroinc.net.pop3.POP3Client client,
                             String messID)
                      throws IOException
IOException

getIDsPop

public Vector getIDsPop(com.oroinc.net.pop3.POP3Client client)
                 throws IOException
IOException


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