Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Static Public Attributes | List of all members
pip._vendor.distlib.resources.Resource Class Reference
Inheritance diagram for pip._vendor.distlib.resources.Resource:
pip._vendor.distlib.resources.ResourceBase _object

Public Member Functions

def as_stream
 
def file_path
 
def bytes
 
def size
 
- Public Member Functions inherited from pip._vendor.distlib.resources.ResourceBase
def __init__
 

Static Public Attributes

 is_container = False
 

Additional Inherited Members

- Public Attributes inherited from pip._vendor.distlib.resources.ResourceBase
 finder
 
 name
 

Detailed Description

A class representing an in-package resource, such as a data file. This is
not normally instantiated by user code, but rather by a
:class:`ResourceFinder` which manages the resource.

Member Function Documentation

def pip._vendor.distlib.resources.Resource.as_stream (   self)
Get the resource as a stream.

This is not a property to make it obvious that it returns a new stream
each time.
def pip._vendor.distlib.resources.Resource.bytes (   self)
def pip._vendor.distlib.resources.Resource.file_path (   self)
def pip._vendor.distlib.resources.Resource.size (   self)

Member Data Documentation

pip._vendor.distlib.resources.Resource.is_container = False
static

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.