com.mf.roundhouse.core.domain
Class StreamableImage

java.lang.Object
  extended byKennewickObject
      extended bycom.mf.roundhouse.core.domain.RoundhouseObject
          extended bycom.mf.roundhouse.core.domain.StreamableContent
              extended bycom.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
           
 
Fields inherited from class com.mf.roundhouse.core.domain.StreamableContent
blob, BLOB, checksum, CHECKSUM, FILE_SIZE, fileSize, MIME_TYPE, mimeType, ORIGINAL_NAME, originalName
 
Constructor Summary
StreamableImage()
           
StreamableImage(ObjectIdentifier anId)
           
 
Method Summary
 byte[] getBlob()
           
 int getHeight()
           
 int getWidth()
           
 void save(ITransaction aTransaction)
           
 void setHeight(int i)
           
 void setWidth(int i)
           
 
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
 

Field Detail

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
Constructor Detail

StreamableImage

public StreamableImage(ObjectIdentifier anId)
                throws java.lang.Exception
Parameters:
anId -
Throws:
java.lang.Exception

StreamableImage

public StreamableImage()
Method Detail

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.