| Interface | osid.filing.File | ||
|---|---|---|---|
| Implements | osid.filing.DirectoryEntry | ||
| Description | 
                 
  | ||
| Method | hasSize | ||
| Description | 
                     Tests if this file has a known size.  | ||
| Return | boolean |  true  if this file has a size,  false  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSize | ||
| Description | 
                     Gets the size of this file in bytes if   | ||
| Return | cardinal | the size of this file | |
| Errors | ILLEGAL_STATE |  hasSize()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFileRecord | ||
| Description | 
                     Gets the file record corresponding to the given   | ||
| Parameters | osid.type.Type | fileRecordType | the file record type | 
| Return | osid.filing.records.FileRecord | the file record | |
| Errors | NULL_ARGUMENT |  fileRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(fileRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |