org.dspace.checker
Class BitstreamDAO
java.lang.Object
org.dspace.checker.BitstreamDAO
public class BitstreamDAO
- extends Object
Data Access Object for Bitstreams.
- Author:
- Jim Downing, Grace Carpenter, Nathan Sarr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitstreamDAO
public BitstreamDAO()
- Default Constructor
getBitstream
public InputStream getBitstream(int id)
throws IOException,
SQLException
- Retrieves the bitstream from the bitstore.
- Parameters:
id - the bitstream id.
- Returns:
- Bitstream as an InputStream
- Throws:
IOException - Rethrown from BitstreamStorageManager
SQLException - Rethrown from BitstreamStorageManager- See Also:
BitstreamStorageManager.retrieve(Context,
int)
Copyright © 2010 The DSpace Foundation. All Rights Reserved.