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,
FtpRequest request)
Execute command.
|
public void execute(FtpIoSession session, FtpServerContext context, FtpRequest request) throws IOException
session
- The current FtpIoSession
context
- The current FtpServerContext
request
- The current FtpRequest
IOException
public static char[] encodeHex(byte[] data)
data
- a byte[] to convert to Hex charactersCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.