Class Transforms.StringToFile

java.lang.Object
com.pervasive.datarush.script.Transforms.StringToFile
All Implemented Interfaces:
Transform
Enclosing class:
Transforms

public static final class Transforms.StringToFile extends Object implements Transform
  • Constructor Details

    • StringToFile

      public StringToFile()
  • Method Details

    • supports

      public boolean supports(Class<?> sourceType, Class<?> targetType)
      Description copied from interface: Transform
      Determines if this transformer supports the given types.
      Specified by:
      supports in interface Transform
      Parameters:
      sourceType - type of the data source
      targetType - type of the data target
      Returns:
      true if supported; false otherwise
    • transform

      public Object transform(Object source, Class<?> targetType)
      Description copied from interface: Transform
      Transform the given source object into the wanted target object.
      Specified by:
      transform in interface Transform
      Parameters:
      source - object to transform
      targetType - type of the target object
      Returns:
      result of the transformation