public class ResourceImpl extends BinaryContentImpl implements Resource
Resource interface| Constructor and Description |
|---|
ResourceImpl(InputStream inputStream,
MimeType mimeType,
String name)
Instantiates a new product
Resource. |
ResourceImpl(InputStream inputStream,
String name)
Instantiates a new product
Resource. |
ResourceImpl(InputStream inputStream,
String mimeTypeString,
String name)
Instantiates a new product
Resource. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the Resource.
|
getByteArray, getInputStream, getMimeType, getMimeTypeValue, getSize, setSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetByteArray, getInputStream, getMimeType, getMimeTypeValue, getSizepublic ResourceImpl(InputStream inputStream, String name)
Resource.inputStream - the InputStream of the Resourcename - the name of the Resourcepublic ResourceImpl(InputStream inputStream, MimeType mimeType, String name)
Resource.inputStream - the InputStream of the ResourcemimeType - the MimeType of the Resourcename - the name of the Resourcepublic ResourceImpl(InputStream inputStream, String mimeTypeString, String name)
Resource.inputStream - the InputStream of the ResourcemimeTypeString - the Mime Type value of the Resourcename - the name of the ResourceThis work is licensed under a Creative Commons Attribution 4.0 International License.