NAME

HTML::SiteTear::CSS - treat cascading style sheet files.

SYMPOSIS

use HTML::SiteTear::CSS;

$item = HTML::SiteTear::CSS->new($parent,$source_path,$kind);
$item->linkpath($path); # usually called from the mothod "change_path"
                        # of the parent object.
$item->copy_to_linkpath();
$item->copy_linked_files();

DESCRIPTION

This module is to treat cascading style sheet files liked from web pages. It's also a sub class of the HTML::SiteTear::Item. Internal use only.

METHODS

new

$css = HTML::SiteTear::CSS->new('parent' => $parent, 
                                'source_path' => $source_path);

Make an instance of this moduel. The parent object "$parent" must be an instance of HTML::SiteTear::Page. This method is called from $parent.

css_copy

$css->css_copy($source_path, $target_path);

Copy a cascading style sheet file "$source_path" into $target_path dealing with internal links. This method is called form the method "copy_to_linkpath".

copy_to_linkpath

$item->copy_to_linkpath;

Copy $source_path into new linked path from $parent.

SEE ALSO

HTML::SiteTear, HTML::SiteTear::Page, HTML::SiteTear::CSS, HTML::SiteTear::Root

AUTHOR

Tetsuro KURITA <tkurita@mac.com>