#---------------------------------------------------------------
# ____                   _ _         ____  _
#|  _ \ ___  _   _  __ _| | |_ _   _/ ___|| |__   __ _ _ __ ___
#| |_) / _ \| | | |/ _` | | __| | | \___ \| '_ \ / _` | '__/ _ \
#|  _ < (_) | |_| | (_| | | |_| |_| |___) | | | | (_| | | |  __/
#|_| \_\___/ \__, |\__,_|_|\__|\__, |____/|_| |_|\__,_|_|  \___|
#            |___/             |___/
#
# Copyright (C) 2009 RoyaltyShare, Inc.   All Rights Reserved
# $Id$
#---------------------------------------------------------------
package BookPub::Catalog::Import::Process::Fetcher::FileHandler::ImageArchive;
use strict;
use warnings;

use File::Path;
use Data::Dumper;

use lib '/app/tools/common/lib';
use lib '/app/tools/bookpub/lib';
use Common::Assert;

use base 'BookPub::Catalog::Import::Process::Fetcher::FileHandler::ZipArchive';

sub _getExtractDirectory {
    my ($self) = @_;

    # Put the images into their own local subdirectory, to make it easy to deal with them later.
    #
    return $self->{_localDirectory} . '/images';
}

# Not going to override _postExtract at this point.
# After the Import is completely finished, we'll want to move these
# files to the cover image drop box.
# But that will be handled by a different process...
#

1;
