|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.protocol.ftp.Ftp
Ftp.java deals with ftp: scheme. Configurable parameters are defined under "FTP properties" section in ./conf/nutch-default.xml or similar.
Field Summary | |
static Logger |
LOG
|
Fields inherited from interface net.nutch.protocol.Protocol |
X_POINT_ID |
Constructor Summary | |
Ftp()
|
Method Summary | |
protected void |
finalize()
|
Content |
getContent(String urlString)
Returns the Content for a url. |
static void |
main(String[] args)
For debugging. |
void |
setFollowTalk(boolean followTalk)
Set followTalk |
void |
setKeepConnection(boolean keepConnection)
Set keepConnection |
void |
setMaxContentLength(int length)
Set the point at which content is truncated. |
void |
setTimeout(int timeout)
Set the timeout. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Logger LOG
Constructor Detail |
public Ftp()
Method Detail |
public void setTimeout(int timeout)
public void setMaxContentLength(int length)
public void setFollowTalk(boolean followTalk)
public void setKeepConnection(boolean keepConnection)
public Content getContent(String urlString) throws FtpException
Protocol
Content
for a url.
getContent
in interface Protocol
FtpException
protected void finalize()
public static void main(String[] args) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |