- Timestamp:
- 21 Sep 2012, 08:19:35 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-zc-async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/uli-async-update removed /main/waeup.kofa/branches/uli-autoinclude-less removed /main/waeup.kofa/trunk removed
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/datacenter.txt
r9209 r9211 83 83 We can get a list of files stored in that location: 84 84 85 >>> mydatacenter.get PendingFiles()85 >>> mydatacenter.getFiles() 86 86 [] 87 87 … … 94 94 Now we can find a file: 95 95 96 >>> mydatacenter.get PendingFiles()96 >>> mydatacenter.getFiles() 97 97 [<waeup.kofa.datacenter.DataCenterFile object at 0x...>] 98 98 … … 102 102 pages: 103 103 104 >>> datafile = mydatacenter.get PendingFiles()[0]104 >>> datafile = mydatacenter.getFiles()[0] 105 105 >>> datafile.getSize() 106 106 '13 bytes' … … 272 272 finished-subdirectory remain. 273 273 274 275 We can get a list of imported files stored in the finished subfolder:276 277 >>> mydatacenter.getFinishedFiles()278 [<waeup.kofa.datacenter.DataCenterFile object at ...>, <waeup.kofa.datacenter.DataCenterFile object at ...>]279 280 >>> datafile = mydatacenter.getFinishedFiles()[0]281 >>> datafile.getSize()282 '2 bytes'283 284 >>> datafile.getDate() # Nearly current datetime...285 '...'286 287 288 274 Clean up: 289 275
Note: See TracChangeset for help on using the changeset viewer.