Find the specified location in the store. @param location: The I{location} part of a URL. @type location: str @return: An input stream to the document. @rtype: StringIO
(self, location)
| 566 | return None |
| 567 | |
| 568 | def find(self, location): |
| 569 | """ |
| 570 | Find the specified location in the store. |
| 571 | @param location: The I{location} part of a URL. |
| 572 | @type location: str |
| 573 | @return: An input stream to the document. |
| 574 | @rtype: StringIO |
| 575 | """ |
| 576 | try: |
| 577 | content = self.store[location] |
| 578 | return StringIO(content) |
| 579 | except: |
| 580 | reason = 'location "%s" not in document store' % location |
| 581 | raise Exception(reason) |
| 582 | |
| 583 | def split(self, url): |
| 584 | """ |