java.lang.Object
com.google.refine.expr.functions.strings.Encode
All Implemented Interfaces:
Function

public class Encode extends Object implements Function
  • Constructor Details

    • Encode

      public Encode()
  • Method Details

    • call

      public Object call(Properties bindings, Object[] args)
      Encodes a string using a given encoding. Encodings include Base16, Base32Hex, Base32, Base64, and Base64Url.
      Specified by:
      call in interface Function
      Parameters:
      args - Arguments to the function.
      Returns:
      The encoded string.
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Function
    • getParams

      public String getParams()
      Specified by:
      getParams in interface Function
    • getReturns

      public String getReturns()
      Specified by:
      getReturns in interface Function