public class

EncodeUtil

extends Object
java.lang.Object
   ↳ com.google.gdata.client.appsforyourdomain.adminsettings.EncodeUtil

Class Overview

Utility class with helper methods

Summary

Public Methods
static String encodeBinaryFile(String filePath)
Base64 encodes the given file from path.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static String encodeBinaryFile (String filePath)

Base64 encodes the given file from path.

Parameters
filePath Location of the file to be encoded.
Returns
  • string base64 encoded contents of the file
Throws
IOException