---
title: "UnknownResource"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.psd.resources/unknownresource/"
product: "Aspose.CAD for Java"
description: "The unknown resource."
---


**Inheritance:** java.lang.Object, ResourceBlock

The unknown resource. When a resource block is not recognized then this resource block is created.

## Methods

| Method | Description |
| --- | --- |
| [getData()](#getData) | Gets the resource data. |
| [getDataSize()](#getDataSize) | Gets the resource data size in bytes. |
| [getMinimalVersion()](#getMinimalVersion) | Gets the minimal required psd version. |

### getData() {#getData}
```java
public byte[] getData()
```

Gets the resource data.

**Returns:** byte[] - The resource data.

### getDataSize() {#getDataSize}
```java
public int getDataSize()
```

Gets the resource data size in bytes.

**Returns:** int - The resource data size.

### getMinimalVersion() {#getMinimalVersion}
```java
public int getMinimalVersion()
```

Gets the minimal required psd version.

**Returns:** int - The minimal psd version.

