NAME
Text::Diff3::Factory - factory for component used by Text::Diff3 modules.
VERSION
0.08
SYNOPSIS
use Text::Diff3;
my $f = Text::Diff3::Factory->new;
my $p = $f->create_diff3;
my $mytext = $f->create_text([ map{chomp;$_} <F0> ]);
DESCRIPTION
This is the factory for the Text::Diff3 modules. 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.
METHODS
Text::Diff3::Factory->new
-
Returns a factory instance.
$factory->create_text($array or $string)
-
Creates a text buffer object from parameters.
$factory->create_diff3
-
Creates a diff3 processor.
$factory->create_diff
-
Creates a two-way diff processor.
$factory->create_list3
-
Creates a list of range3 instances for internal use.
$factory->create_range3
-
Creates a range container of diff3 for internal use.
$factory->create_null_range3
-
Creates a null range container of diff3 for internal use.
$factory->create_list2
-
Creates a list of range2 instances for internal use.
$factory->create_range2
-
Creates a range container of diff for internal use.
$f->create_test
-
Creates a container for test suits.
COMPATIBILITY
Use new function style interfaces introduced from version 0.08. This module remained for backward compatibility before version 0.07. This module is no longer maintenance after version 0.08.
AUTHOR
MIZUTANI Tociyuki <tociyuki@gmail.com>
.
LICENSE AND COPYRIGHT
Copyright (C) 2010 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.