public interface IDfResultContent
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDOSExtension()
Gets the default DOS extension corresponding to the content type.
|
java.io.InputStream |
getInputStream()
Gets an InputStream to the content.
|
java.lang.String |
getMIMEType()
Gets the MIME type of the content.
|
int |
getSize()
Gets the size of the content.
|
java.lang.String |
getType()
Gets the content type of the content.
|
void |
release()
Releases resources used by this instance.
|
java.lang.String getType() throws DfException
DfException
- DfResultContentException, if an error occurred while trying to communicate with the source
(example: timeout, source unreachable); DfSearchLoginException, if credentials were needed and
not provided through IDfSessionManager or if the credentials are incorrect; DfException, if a
configuration or an internal error occurred.java.lang.String getMIMEType() throws DfException
DfException
- DfResultContentException, if an error occurred while trying to communicate with the source
(example: timeout, source unreachable); DfSearchLoginException, if credentials were needed and
not provided through IDfSessionManager or if the credentials are incorrect; DfException, if a
configuration or an internal error occurred.int getSize() throws DfException
DfException
- DfResultContentException, if an error occurred while trying to communicate with the source
(example: timeout, source unreachable); DfSearchLoginException, if credentials were needed and
not provided through IDfSessionManager or if the credentials are incorrect; DfException, if a
configuration or an internal error occurred.java.lang.String getDOSExtension() throws DfException
DfException
- DfResultContentException, if an error occurred while trying to communicate with the source
(example: timeout, source unreachable); DfSearchLoginException, if credentials were needed and
not provided through IDfSessionManager or if the credentials are incorrect; DfException, if a
configuration or an internal error occurred.java.io.InputStream getInputStream() throws DfException
DfException
- DfResultContentException, if an error occurred while trying to communicate with the source
(example: timeout, source unreachable); DfSearchLoginException, if credentials were needed and
not provided through IDfSessionManager or if the credentials are incorrect; DfException, if a
configuration or an internal error occurred.void release()
Copyright 1994-2023 OpenText Corporation. All rights reserved.