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.
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 |
MboxURLConnection
public MboxURLConnection(URL getURL)
- Given a URL will instantiate a this
object.
- Parameters:
getURL
- The URL to contact.
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."