fedora.server.storage.types
Class MIMETypedStream
java.lang.Object
fedora.server.storage.types.MIMETypedStream
public class MIMETypedStream
- extends java.lang.Object
Title: MIMETypedStream.java
Description: Data structure for holding a MIME-typed stream.
- Version:
- $Id: MIMETypedStream.java 5999 2007-04-05 17:23:10Z cwilper $
- Author:
- rlw@virginia.edu
|
Constructor Summary |
MIMETypedStream(java.lang.String MIMEType,
java.io.InputStream stream,
Property[] header)
Constructs a MIMETypedStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIMEType
public java.lang.String MIMEType
header
public Property[] header
MIMETypedStream
public MIMETypedStream(java.lang.String MIMEType,
java.io.InputStream stream,
Property[] header)
Constructs a MIMETypedStream.
- Parameters:
MIMEType - The MIME type of the byte stream.stream - The byte stream.
getStream
public java.io.InputStream getStream()
setStream
public void setStream(java.io.InputStream stream)