<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Colorer-take5 Library: JARInputSource Class Reference</title> <link href="../styles/styles.css" rel="stylesheet" type="text/css"> <link href="../styles/doc.css" rel="stylesheet" type="text/css"> <link rel="icon" href="../images/logo-small-api.png"/> </head> <body> <div align='center'> <a href="../index.html">Home</a> | <a href="modules.html">Modules</a> | <a href="hierarchy.html">Class Hierarchy</a> | <a href="classes.html">Alphabetical List</a> | <a href="annotated.html">Compound List</a> | <a href="pages.html">Related Pages</a> </div> <!-- Generated by Doxygen 1.4.6 --> <h1>JARInputSource Class Reference<br> <small> [<a class="el" href="group__common__io.html">IO core interfaces</a>]</small> </h1><!-- doxytag: class="JARInputSource" --><!-- doxytag: inherits="InputSource" --><p>Inheritance diagram for JARInputSource: <p><center><img src="classJARInputSource.png" usemap="#JARInputSource_map" border="0" alt=""></center> <map name="JARInputSource_map"> <area href="classInputSource.html" alt="InputSource" shape="rect" coords="0,0,104,24"> </map> <hr><a name="_details"></a><h2>Detailed Description</h2> Reads data from JAR(ZIP) archive. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJARInputSource.html#5235e2c90eecb7a7b6a785fc1fc2c290">JARInputSource</a> (const <a class="el" href="classString.html">String</a> *basePath, <a class="el" href="classInputSource.html">InputSource</a> *base)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates input source from JAR (ZIP) archive. <a href="#5235e2c90eecb7a7b6a785fc1fc2c290"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed04b93200c6b2794e317f0be5119454"></a><!-- doxytag: member="JARInputSource::getLocation" ref="ed04b93200c6b2794e317f0be5119454" args="() const " --> const <a class="el" href="classString.html">String</a> * </td><td class="memItemRight" valign="bottom"><b>getLocation</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="53baa76077b3ee9c31e318e36cb2dff5"></a><!-- doxytag: member="JARInputSource::openStream" ref="53baa76077b3ee9c31e318e36cb2dff5" args="()" --> const byte * </td><td class="memItemRight" valign="bottom"><b>openStream</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce37e873d3518bbda579d9e078e0aa07"></a><!-- doxytag: member="JARInputSource::closeStream" ref="ce37e873d3518bbda579d9e078e0aa07" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>closeStream</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c25479da220534535a31abd0d7713a9b"></a><!-- doxytag: member="JARInputSource::length" ref="c25479da220534535a31abd0d7713a9b" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>length</b> () const </td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="266d6a9cb11766d6520a445d0399e032"></a><!-- doxytag: member="JARInputSource::getShared" ref="266d6a9cb11766d6520a445d0399e032" args="() const " --> <a class="el" href="classSharedInputSource.html">SharedInputSource</a> * </td><td class="memItemRight" valign="bottom"><b>getShared</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f2a5401bcda9f246f22b0790aa5aabe9"></a><!-- doxytag: member="JARInputSource::getInJarLocation" ref="f2a5401bcda9f246f22b0790aa5aabe9" args="() const " --> const <a class="el" href="classString.html">String</a> * </td><td class="memItemRight" valign="bottom"><b>getInJarLocation</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17e3c99a8dced4ce5fbc401b20b7cd3d"></a><!-- doxytag: member="JARInputSource::createRelative" ref="17e3c99a8dced4ce5fbc401b20b7cd3d" args="(const String *relPath)" --> <a class="el" href="classInputSource.html">InputSource</a> * </td><td class="memItemRight" valign="bottom"><b>createRelative</b> (const <a class="el" href="classString.html">String</a> *relPath)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32f6b6b7f5ee6888439ceff6a6846868"></a><!-- doxytag: member="JARInputSource::JARInputSource" ref="32f6b6b7f5ee6888439ceff6a6846868" args="(const String *basePath, JARInputSource *base, bool faked)" --> </td><td class="memItemRight" valign="bottom"><b>JARInputSource</b> (const <a class="el" href="classString.html">String</a> *basePath, <a class="el" href="classJARInputSource.html">JARInputSource</a> *base, bool faked)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5235e2c90eecb7a7b6a785fc1fc2c290"></a><!-- doxytag: member="JARInputSource::JARInputSource" ref="5235e2c90eecb7a7b6a785fc1fc2c290" args="(const String *basePath, InputSource *base)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">JARInputSource::JARInputSource </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classString.html">String</a> * </td> <td class="mdname" nowrap> <em>basePath</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="classInputSource.html">InputSource</a> * </td> <td class="mdname" nowrap> <em>base</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates input source from JAR (ZIP) archive. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>basePath</em> </td><td>Path to file in archive in form <code>jar:<anyURI>!/path/to/file</code> <code>anyURI</code> can be any valid URI, relative or absolute. </td></tr> <tr><td valign="top"></td><td valign="top"><em>base</em> </td><td>source, used to resolving relative URIs </td></tr> </table> </dl> </td> </tr> </table> <br><br> <center><small> Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.<br> Generated at Fri Nov 24 17:13:13 2006 by doxygen 1.4.6. </small><center> </BODY> </HTML>