1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.page.page</title> 4 </head><body bgcolor="#f0f0f8"> 5 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 7 <tr bgcolor="#7799ee"> 8 <td valign=bottom> <br> 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.page.html"><font color="#ffffff">page</font></a>.page</strong></big></big></font></td 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/page/page.py">telemetry/page/page.py</a></font></td></tr></table> 12 <p><tt># Copyright (c) 2012 The Chromium Authors. All rights reserved.<br> 13 # Use of this source code is governed by a BSD-style license that can be<br> 14 # found in the LICENSE file.</tt></p> 15 <p> 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 17 <tr bgcolor="#aa55cc"> 18 <td colspan=3 valign=bottom> <br> 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 20 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> 23 </td><td width="25%" valign=top><a href="re.html">re</a><br> 24 </td><td width="25%" valign=top><a href="urlparse.html">urlparse</a><br> 25 </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 27 <tr bgcolor="#ee77aa"> 28 <td colspan=3 valign=bottom> <br> 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 32 <td width="100%"><dl> 33 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 34 </font></dt><dd> 35 <dl> 36 <dt><font face="helvetica, arial"><a href="telemetry.page.page.html#Page">Page</a> 37 </font></dt></dl> 38 </dd> 39 </dl> 40 <p> 41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 42 <tr bgcolor="#ffc8d8"> 43 <td colspan=3 valign=bottom> <br> 44 <font color="#000000" face="helvetica, arial"><a name="Page">class <strong>Page</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 45 46 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 47 <td width="100%">Methods defined here:<br> 48 <dl><dt><a name="Page-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl> 49 50 <dl><dt><a name="Page-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl> 51 52 <dl><dt><a name="Page-__init__"><strong>__init__</strong></a>(self, url, page_set, attributes<font color="#909090">=None</font>, base_dir<font color="#909090">=None</font>)</dt></dl> 53 54 <dl><dt><a name="Page-__lt__"><strong>__lt__</strong></a>(self, other)</dt></dl> 55 56 <dl><dt><a name="Page-__str__"><strong>__str__</strong></a>(self)</dt></dl> 57 58 <hr> 59 Data descriptors defined here:<br> 60 <dl><dt><strong>__dict__</strong></dt> 61 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 62 </dl> 63 <dl><dt><strong>__weakref__</strong></dt> 64 <dd><tt>list of weak references to the object (if defined)</tt></dd> 65 </dl> 66 <dl><dt><strong>archive_path</strong></dt> 67 </dl> 68 <dl><dt><strong>display_name</strong></dt> 69 </dl> 70 <dl><dt><strong>file_path</strong></dt> 71 <dd><tt>Returns the path of the file, stripping the scheme and query string.</tt></dd> 72 </dl> 73 <dl><dt><strong>file_path_url</strong></dt> 74 <dd><tt>Returns the file path, including the params, query, and fragment.</tt></dd> 75 </dl> 76 <dl><dt><strong>file_safe_name</strong></dt> 77 <dd><tt>A version of display_name that's safe to use as a filename.</tt></dd> 78 </dl> 79 <dl><dt><strong>is_file</strong></dt> 80 <dd><tt>Returns True iff this URL points to a file.</tt></dd> 81 </dl> 82 <dl><dt><strong>is_local</strong></dt> 83 <dd><tt>Returns True iff this URL is local. This includes chrome:// URLs.</tt></dd> 84 </dl> 85 <dl><dt><strong>serving_dir</strong></dt> 86 </dl> 87 </td></tr></table></td></tr></table> 88 </body></html>