Package com.storedobject.core
Class StreamDataContent
java.lang.Object
com.storedobject.core.StreamDataContent
- All Implemented Interfaces:
Executable
,ContentProducer
,ContentType
,Runnable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLink()
boolean
isLink()
void
produce()
void
setFileName
(String fileName) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.storedobject.core.ContentProducer
abort, execute, extractContent, getEntity, getError, getStreamData, getStreamDataProvider, getSystemEntity, getTransactionManager, saveTo, saveTo, saveTo, saveTo
Methods inherited from interface com.storedobject.core.ContentType
getMimeType, isAudio, isHTML, isImage, isMedia, isPDF, isText, isVideo
Methods inherited from interface com.storedobject.common.Executable
act, run
-
Constructor Details
-
StreamDataContent
-
StreamDataContent
-
-
Method Details
-
produce
public void produce()- Specified by:
produce
in interfaceContentProducer
-
getContent
- Specified by:
getContent
in interfaceContentProducer
- Throws:
Exception
-
getContentType
- Specified by:
getContentType
in interfaceContentType
-
getFileName
- Specified by:
getFileName
in interfaceContentProducer
-
setFileName
-
getFileExtension
- Specified by:
getFileExtension
in interfaceContentProducer
-
setTransactionManager
- Specified by:
setTransactionManager
in interfaceContentProducer
-
isLink
public boolean isLink()- Specified by:
isLink
in interfaceContentType
-
getLink
- Specified by:
getLink
in interfaceContentType
-