Changeset 6601 for trunk/DataStore/lib/DataStore/FileSet.pm
- Timestamp:
- Mar 15, 2006, 4:47:09 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/lib/DataStore/FileSet.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/lib/DataStore/FileSet.pm
r6587 r6601 1 1 # Copyright (C) 2006 Joshua Hoblitt 2 2 # 3 # $Id: FileSet.pm,v 1. 3 2006-03-15 03:18:25jhoblitt Exp $3 # $Id: FileSet.pm,v 1.4 2006-03-16 02:47:09 jhoblitt Exp $ 4 4 5 5 package DataStore::FileSet; … … 35 35 use DataStore::FileSet; 36 36 37 my $dsfs = DateStore::FileSet->new(...); 37 my $dsfs = DateStore::FileSet->new( 38 uri => 'http://example.org/', 39 fileset => '12buckelyourshoe', 40 datetime => '2042-01-01T00:00:00Z', 41 type => 'foo', 42 ); 43 44 my $uri = $dsfs->uri; 45 my $fileset = $dsfs->fileset; 46 my $datatime = $dsfs->datetime; 47 my $type = $dsfs->type; 48 my DataStore::Response $response = $dsfs->request; 38 49 39 50 =head1 DESCRIPTION … … 53 64 54 65 =item * C<new()> 66 67 Basic constructor. 68 69 my $dsfs = DateStore::FileSet->new( 70 uri => 'http://example.org/', 71 fileset => '12buckelyourshoe', 72 datetime => '2042-01-01T00:00:00Z', 73 type => 'foo', 74 ); 75 76 Accepts a mandatory hash and returns a L<DataStore::FileSet> object. 77 78 =over 4 79 80 =item * uri 81 82 A valid I<HTTP> URI as a string. I<A trailing slash is required.> 83 84 =item * fileset 85 86 The FileSet ID as a string. 87 88 =item * datetime 89 90 The time and date as a string. 91 92 =item * type 93 94 The I<type> of record as a string. 95 96 =back 55 97 56 98 =cut … … 91 133 =over 4 92 134 135 =item * C<uri()> 136 137 Basic accessor. 138 139 =item * C<fileset()> 140 141 Basic accessor. 142 143 =item * C<datetime()> 144 145 Basic accessor. 146 147 =item * C<type()> 148 149 Basic accessor. 150 93 151 =item * C<request()> 152 153 Retrieves and processes the File listing pointed to by the L<uri> of this 154 object. 155 156 Accepts no parameters and returns a L<DataStore::Response> object. 94 157 95 158 =cut … … 133 196 } 134 197 198 =back 199 200 =head1 SEE ALSO 201 202 L<DataStore::Response> 203 204 =cut 205 135 206 1; 136 207
Note:
See TracChangeset
for help on using the changeset viewer.
