|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.MD5
public class MD5
Internal class, do not use directly.
MD5 <SP> <pathname> <CRLF>
MMD5 <SP> <pathnames> <CRLF>
Returns the MD5 value for a file or multiple files according to
draft-twine-ftpmd5-00.txt.
| Constructor Summary | |
|---|---|
MD5()
|
|
| Method Summary | |
|---|---|
static char[] |
encodeHex(byte[] data)
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order. |
void |
execute(FtpIoSession session,
FtpServerContext context,
FtpRequest request)
Execute command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD5()
| Method Detail |
|---|
public void execute(FtpIoSession session,
FtpServerContext context,
FtpRequest request)
throws java.io.IOException
session - The current FtpIoSessioncontext - The current FtpServerContextrequest - The current FtpRequest
java.io.IOExceptionpublic static char[] encodeHex(byte[] data)
data - a byte[] to convert to Hex characters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||