public class MD5 extends AbstractCommand
MD5 <SP> <pathname> <CRLF>MMD5 <SP> <pathnames> <CRLF>| Constructor and Description |
|---|
MD5() |
| Modifier and Type | Method and Description |
|---|---|
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,
org.apache.ftpserver.ftplet.FtpRequest request)
Execute command.
|
public void execute(FtpIoSession session, FtpServerContext context, org.apache.ftpserver.ftplet.FtpRequest request) throws IOException
session - The current FtpIoSessioncontext - The current FtpServerContextrequest - The current FtpRequestIOExceptionpublic static char[] encodeHex(byte[] data)
data - a byte[] to convert to Hex charactersCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.