The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::Diff3::Factory - Factory for packages.

SYNOPSIS

  use Text::Diff3;
  my $f = Text::Diff3::Factory->new;
  my $p = $f->create_diff3;
  my $mytext = $f->create_text([ map{chomp;$_} <F0> ]);

ABSTRACT

This is the factory for the Text::Diff3 module. It provides you to make data and processing instances, such as text, diff3, and diff. If you need to use some data or processor class, you replace this as your like.

DESCRIPTION

new

Return a factory instance. In current, the factory does not create instance but returns class of it.

create_text

Create a text buffer object from parameters.

create_diff3

Create a diff3 processor.

create_diff

Create a two-way diff processor.

create_list3

Create a diff3 sets instance (internally used).

create_range3

Create a diff3 range container (internally used).

create_null_range

Create a diff3 range container but it has null values (internally used).

create_list2

Create a diff sets instance (internally used).

create_range2

Create a two-way diff range container (internally used).

AUTHOR

MIZUTANI Tociyuki <tociyuki@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2005 MIZUTANI Tociyuki

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.