<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Class Poco::Zip::ZipUtil</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.Zip.html" class="namespace">Poco::Zip</a></h1> <h1 class="symbol">class ZipUtil</h1> </div> <div class="body"> <p> <b>Library:</b> Zip<br /> <b>Package:</b> Zip<br /> <b>Header:</b> Poco/Zip/ZipUtil.h</p> <h2>Description</h2> <div class="description"> <p>A utility class used for parsing header information inside of zip files </p> </div> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.Zip.ZipUtil.html#20845" title="Poco::Zip::ZipUtil::fakeZLibInitString()">fakeZLibInitString</a>, <a href="Poco.Zip.ZipUtil.html#20822" title="Poco::Zip::ZipUtil::get16BitValue()">get16BitValue</a>, <a href="Poco.Zip.ZipUtil.html#20825" title="Poco::Zip::ZipUtil::get32BitValue()">get32BitValue</a>, <a href="Poco.Zip.ZipUtil.html#20836" title="Poco::Zip::ZipUtil::parseDateTime()">parseDateTime</a>, <a href="Poco.Zip.ZipUtil.html#20828" title="Poco::Zip::ZipUtil::set16BitValue()">set16BitValue</a>, <a href="Poco.Zip.ZipUtil.html#20832" title="Poco::Zip::ZipUtil::set32BitValue()">set32BitValue</a>, <a href="Poco.Zip.ZipUtil.html#20840" title="Poco::Zip::ZipUtil::setDateTime()">setDateTime</a>, <a href="Poco.Zip.ZipUtil.html#20847" title="Poco::Zip::ZipUtil::sync()">sync</a>, <a href="Poco.Zip.ZipUtil.html#20851" title="Poco::Zip::ZipUtil::validZipEntryFileName()">validZipEntryFileName</a>, <a href="Poco.Zip.ZipUtil.html#20849" title="Poco::Zip::ZipUtil::verifyZipEntryFileName()">verifyZipEntryFileName</a></p> <h2>Constructors</h2> <h2>Destructor</h2> <h3><a name="20854">~ZipUtil</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">~<a href="Poco.Zip.ZipUtil.html" title="class Poco::Zip::ZipUtil">ZipUtil</a>();</p> <div class="description"> <p></p> </div> <h2>Member Functions</h2> <h3><a name="20845">fakeZLibInitString</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string fakeZLibInitString(<br /> <a href="Poco.Zip.ZipCommon.html#20384" title="enum Poco::Zip::ZipCommon::CompressionLevel">ZipCommon::CompressionLevel</a> cl<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20822">get16BitValue</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static <a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> get16BitValue(<br /> const char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> pos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20825">get32BitValue</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> get32BitValue(<br /> const char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> pos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20836">parseDateTime</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static <a href="Poco.DateTime.html" title="class Poco::DateTime">Poco::DateTime</a> parseDateTime(<br /> const char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> timePos,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> datePos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20828">set16BitValue</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void set16BitValue(<br /> const <a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> val,<br /> char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> pos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20832">set32BitValue</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void set32BitValue(<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> val,<br /> char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> pos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20840">setDateTime</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void setDateTime(<br /> const <a href="Poco.DateTime.html" title="class Poco::DateTime">Poco::DateTime</a> & dt,<br /> char * pVal,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> timePos,<br /> const <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> datePos<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20847">sync</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void sync(<br /> std::istream & in<br />);</p> <div class="description"> <p>Searches the next valid header in the input stream, stops right before it </p> </div> <h3><a name="20851">validZipEntryFileName</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string validZipEntryFileName(<br /> const <a href="Poco.Path.html" title="class Poco::Path">Poco::Path</a> & entry<br />);</p> <div class="description"> <p></p> </div> <h3><a name="20849">verifyZipEntryFileName</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void verifyZipEntryFileName(<br /> const std::string & zipPath<br />);</p> <div class="description"> <p>Verifies that the name of the ZipEntry is a valid path </p> </div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>