public override void Load()
{
if ( _zipFile == null || _zipFile.Length == 0 || _zipStream.Available == 0)
{
_zipFile = Path.GetFullPath( Name );
// read the open the zip archive
FileStream fs = File.OpenRead( _zipFile );
fs.Position = 0;
// get a input stream from the zip file
_zipStream = new ZipInputStream( fs );
//ZipEntry entry = _zipStream.GetNextEntry();
//Regex ex = new Regex( pattern );
//while ( entry != null )
//{
// // get the full path for the output file
// string file = entry.Name;
// if ( ex.IsMatch( file ) )
// {
// FileInfo fileInfo;
// fileInfo.Archive = this;
// fileInfo.Filename = entry.Name;
// fileInfo.Basename = Path.GetFileName( entry.Name );
// fileInfo.Path = Path.GetDirectoryName( entry.Name ) + Path.DirectorySeparatorChar;
// fileInfo.CompressedSize = entry.CompressedSize;
// fileInfo.UncompressedSize = entry.Size;
// _fileList.Add( fileInfo );
// }
// entry = _zipStream.GetNextEntry();
//}
}
}