org.apache.oodt.cas.protocol.imaps
Class ImapsProtocol
java.lang.Object
org.apache.oodt.cas.protocol.imaps.ImapsProtocol
- All Implemented Interfaces:
- Protocol
public class ImapsProtocol
- extends Object
- implements Protocol
IMAP Secure Protocol implementation
- Version:
- $Revision$
- Author:
- bfoster
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImapsProtocol
public ImapsProtocol()
cd
public void cd(ProtocolFile file)
throws ProtocolException
- Specified by:
cd in interface Protocol
- Throws:
ProtocolException
cdRoot
public void cdRoot()
throws ProtocolException
- Specified by:
cdRoot in interface Protocol
- Throws:
ProtocolException
cdHome
public void cdHome()
throws ProtocolException
- Specified by:
cdHome in interface Protocol
- Throws:
ProtocolException
connect
public void connect(String host,
Authentication auth)
throws ProtocolException
- Specified by:
connect in interface Protocol
- Throws:
ProtocolException
close
public void close()
throws ProtocolException
- Specified by:
close in interface Protocol
- Throws:
ProtocolException
get
public void get(ProtocolFile fromFile,
File toFile)
throws ProtocolException
- Specified by:
get in interface Protocol
- Throws:
ProtocolException
put
public void put(File fromFile,
ProtocolFile toFile)
- Specified by:
put in interface Protocol
connected
public boolean connected()
- Specified by:
connected in interface Protocol
ls
public List<ProtocolFile> ls()
throws ProtocolException
- Specified by:
ls in interface Protocol
- Throws:
ProtocolException
ls
public List<ProtocolFile> ls(ProtocolFileFilter filter)
throws ProtocolException
- Specified by:
ls in interface Protocol
- Throws:
ProtocolException
pwd
public ProtocolFile pwd()
throws ProtocolException
- Specified by:
pwd in interface Protocol
- Throws:
ProtocolException
delete
public void delete(ProtocolFile file)
throws ProtocolException
- Specified by:
delete in interface Protocol
- Throws:
ProtocolException
Copyright © 1999-2012 Apache OODT. All Rights Reserved.