Class MakeLDIF


  • public final class MakeLDIF
    extends ConsoleApplication
    Program that generate LDIF content based on a template.
    • Field Detail

      • OPTION_LONG_CONSTANT

        public static final String OPTION_LONG_CONSTANT
        The value for the constant option in LDIF generator tools.
        See Also:
        Constant Field Values
      • OPTION_LONG_RESOURCE_PATH

        public static final String OPTION_LONG_RESOURCE_PATH
        The value for the path to look for LDIF resources (e.g data files).
        See Also:
        Constant Field Values
    • Method Detail

      • main

        public static void main​(String[] args)
        The main method for makeldif tool.
        Parameters:
        args - The command-line arguments provided to this program.
      • run

        public static int run​(PrintStream out,
                              PrintStream err,
                              String... args)
        This method should be used to run this tool programmatically. Output and errors will be printed on provided PrintStream.
        Parameters:
        out - The PrintStream to use to write tool output.
        err - The PrintStream to use to write tool errors.
        args - The arguments to use with this tool.
        Returns:
        The code returned by the tool
      • isInteractive

        public boolean isInteractive()
        Description copied from class: ConsoleApplication
        Indicates whether the user has requested interactive behavior. The default implementation returns true.
        Overrides:
        isInteractive in class ConsoleApplication
        Returns:
        true if the user has requested interactive behavior.