public class ResourceLoadingResult extends Object
Constructor and Description |
---|
ResourceLoadingResult(byte[] data)
Initializes a new instance of the
ResourceLoadingResult class. |
ResourceLoadingResult(byte[] data,
com.aspose.ms.System.Text.Encoding encoding)
Initializes a new instance of the
ResourceLoadingResult class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the resource data.
|
com.aspose.ms.System.Text.Encoding |
getEncodingIfKnown()
Gets the encoding.
|
com.aspose.ms.System.Exception |
getExceptionIfAny()
Gets the resource data.
|
String |
getMIMEIfKnown()
Gets the encoding.
|
void |
setEncodingIfKnown(com.aspose.ms.System.Text.Encoding value) |
void |
setExceptionIfAny(com.aspose.ms.System.Exception value) |
void |
setMIMEIfKnown(String value) |
public ResourceLoadingResult(byte[] data)
Initializes a new instance of the ResourceLoadingResult
class.
data
- The data.public ResourceLoadingResult(byte[] data, com.aspose.ms.System.Text.Encoding encoding)
Initializes a new instance of the ResourceLoadingResult
class.
data
- The data.encoding
- The encoding.public byte[] getData()
Gets the resource data.
public com.aspose.ms.System.Exception getExceptionIfAny()
Gets the resource data.
public void setExceptionIfAny(com.aspose.ms.System.Exception value)
public com.aspose.ms.System.Text.Encoding getEncodingIfKnown()
Gets the encoding.
public void setEncodingIfKnown(com.aspose.ms.System.Text.Encoding value)
public String getMIMEIfKnown()
Gets the encoding.
public void setMIMEIfKnown(String value)
Copyright © 2016 Aspose. All Rights Reserved.