|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.remote.IpRestrictor
public class IpRestrictor
IP Restrictor remotr adapter class. Used by admin GUI.
Constructor Summary | |
---|---|
IpRestrictor(IpRestrictorInterface ipRestrictor)
Constructor - sets the actual ip restrictor object |
Method Summary | |
---|---|
void |
addEntry(String str)
Add new entry |
void |
clear()
Clear all entries. |
IpRestrictorInterface |
getActualObject()
Get the actual object. |
Collection |
getAllEntries()
Get all entries |
boolean |
hasPermission(InetAddress addr)
Check IP permission. |
boolean |
isAllowIp()
Allow/ban IP flag |
void |
reload()
Reload data from store. |
void |
removeEntry(String str)
Remove entry |
void |
save()
Save data into store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IpRestrictor(IpRestrictorInterface ipRestrictor) throws RemoteException
RemoteException
Method Detail |
---|
public IpRestrictorInterface getActualObject()
public boolean isAllowIp()
isAllowIp
in interface IpRestrictorInterface
public void reload() throws IOException
reload
in interface IpRestrictorInterface
IOException
public void save() throws IOException
save
in interface IpRestrictorInterface
IOException
public boolean hasPermission(InetAddress addr)
hasPermission
in interface IpRestrictorInterface
public void clear()
clear
in interface IpRestrictorInterface
public void addEntry(String str)
addEntry
in interface IpRestrictorInterface
public void removeEntry(String str)
removeEntry
in interface IpRestrictorInterface
public Collection getAllEntries()
getAllEntries
in interface IpRestrictorInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |