public class ResourceLoadingResult extends Object
Represents resource loading result object.
Constructor and Description |
---|
ResourceLoadingResult(byte[] data)
Initializes a new instance of the
ResourceLoadingResult class. |
ResourceLoadingResult(byte[] data,
Charset encoding)
Initializes a new instance of the
ResourceLoadingResult class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the resource data.
|
Charset |
getEncoding()
Gets the encoding.
|
public ResourceLoadingResult(byte[] data)
Initializes a new instance of the ResourceLoadingResult
class.
data
- The resource data.public ResourceLoadingResult(byte[] data, Charset encoding)
Initializes a new instance of the ResourceLoadingResult
class.
data
- The resource data.encoding
- The encoding.public byte[] getData()
Gets the resource data.
public Charset getEncoding()
Gets the encoding.
Copyright © 2021 Aspose. All Rights Reserved.