Class DelimitedFileConnector

java.lang.Object
sailpoint.connector.DelimitedFileConnector

public class DelimitedFileConnector extends Object
  • Constructor Details

    • DelimitedFileConnector

      public DelimitedFileConnector()
  • Method Details

    • defaultBuildMap

      public static Map<String,Object> defaultBuildMap(List<String> cols, List<String> record)
      Static method that takes an ordered list of columns names and a parsed record broken up into ordered tokens. This method will trim whitespace values from the front and back of the keys and values as they are put into the map.

      This method is typically the first method that is called in a buildMap rule to build a base map that can then be altered to suite a customers needs.

      Each call to the build map rule is handed several things including 'cols' and 'record' attributes. The cols attribute specifies an ordered list of strings that define the column names either fined on the application or by inspecting the header of the file. The record attribute is also a list of strings in order as they were parsed from the file.

           // Here is an example of how it might be used in a buildmap
           // rule
           Map defaultMap = DelimitedFileConnector.defaultBuildMap(cols,record);
           // make your customizations/transformations
           return defaultMap;
       
      Since:
      1.5
    • defaultBuildMap

      public static Map<String,Object> defaultBuildMap(List<String> cols, List<String> record, boolean trimValues)
      This method is the same as defaultBuildMap(List, List) but allows control over if the values should be trimmed with the last parameter.
      See Also: