com.mf.roundhouse.core.domain
Class StreamableImage
java.lang.Object
KennewickObject
com.mf.roundhouse.core.domain.RoundhouseObject
com.mf.roundhouse.core.domain.StreamableContent
com.mf.roundhouse.core.domain.StreamableImage
- All Implemented Interfaces:
- java.io.Serializable
- public class StreamableImage
- extends StreamableContent
- Author:
- Jeffrey Payne
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
HEIGHT
|
static java.lang.String |
WIDTH
|
Methods inherited from class com.mf.roundhouse.core.domain.StreamableContent |
getBlobAsASCII, getChecksum, getFileSize, getMimeType, getOriginalName, setBlob, setBlobASCII, setChecksum, setFileSize, setMimeType, setOriginalName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEIGHT
public static final java.lang.String HEIGHT
- See Also:
- Constant Field Values
WIDTH
public static final java.lang.String WIDTH
- See Also:
- Constant Field Values
StreamableImage
public StreamableImage(ObjectIdentifier anId)
throws java.lang.Exception
- Parameters:
anId
-
- Throws:
java.lang.Exception
StreamableImage
public StreamableImage()
getHeight
public int getHeight()
getWidth
public int getWidth()
setHeight
public void setHeight(int i)
- Parameters:
i
-
setWidth
public void setWidth(int i)
- Parameters:
i
-
getBlob
public byte[] getBlob()
throws java.lang.Exception
- Overrides:
getBlob
in class StreamableContent
- Throws:
java.lang.Exception
save
public void save(ITransaction aTransaction)
throws java.lang.Exception
- Overrides:
save
in class StreamableContent
- Throws:
java.lang.Exception
Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.