public class EncodeUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
encodeBinaryFile(java.lang.String filePath)
Base64 encodes the given file from path.
|
public static java.lang.String encodeBinaryFile(java.lang.String filePath)
throws java.io.IOException
filePath - location of the file to be encoded.java.io.IOException