
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.IEquatable
```
public class UrlCategory implements System.IEquatable<UrlCategory>
```

Represents category for a URL
## Constructors

| Constructor | Description |
| --- | --- |
| [UrlCategory(String description)](#UrlCategory-java.lang.String-) | Initializes a new instance of the [UrlCategory](../../com.aspose.email/urlcategory) class with 'Custom' category. |
## Fields

| Field | Description |
| --- | --- |
| [BLOG_VALUE](#BLOG-VALUE) | String value for 'Blog' category |
| [CUSTOM_VALUE](#CUSTOM-VALUE) | String value for 'Custom' category |
| [FTP_VALUE](#FTP-VALUE) | String value for 'Ftp' category |
| [HOME_PAGE_VALUE](#HOME-PAGE-VALUE) | String value for 'HomePage' category |
| [HOME_VALUE](#HOME-VALUE) | String value for 'Home' category |
| [PROFILE_VALUE](#PROFILE-VALUE) | String value for 'Profile' category |
| [WORK_VALUE](#WORK-VALUE) | String value for 'Work' category |
## Methods

| Method | Description |
| --- | --- |
| [equals(UrlCategory other)](#equals-com.aspose.email.UrlCategory-) | Determines whether the specified object is equal to the current object. |
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified Object is equal to the current Object. |
| [getBlog()](#getBlog--) | Blog URL |
| [getClass()](#getClass--) |  |
| [getCustom()](#getCustom--) | Custom page URL |
| [getDescription()](#getDescription--) | Gets description for the 'Custom' category of a URL |
| [getFtp()](#getFtp--) | Ftp URL |
| [getHome()](#getHome--) | Contact's home-related site. |
| [getHomePage()](#getHomePage--) | Home page URL |
| [getProfile()](#getProfile--) | Profile URL |
| [getValue()](#getValue--) | Gets category of a URL |
| [getWork()](#getWork--) | Contact's work-related site. |
| [hashCode()](#hashCode--) | GetHashCode returns a hash function for this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(UrlCategory a, UrlCategory b)](#op-Equality-com.aspose.email.UrlCategory-com.aspose.email.UrlCategory-) | Determines whether the specified objects are equal. |
| [op_Inequality(UrlCategory a, UrlCategory b)](#op-Inequality-com.aspose.email.UrlCategory-com.aspose.email.UrlCategory-) | Determines whether the specified objects are not equal. |
| [toString()](#toString--) | Returns a string that represents the current object. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### UrlCategory(String description) {#UrlCategory-java.lang.String-}
```
public UrlCategory(String description)
```


Initializes a new instance of the [UrlCategory](../../com.aspose.email/urlcategory) class with 'Custom' category.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| description | java.lang.String | Description for the 'Custom' category of a URL |

### BLOG_VALUE {#BLOG-VALUE}
```
public static final String BLOG_VALUE
```


String value for 'Blog' category

### CUSTOM_VALUE {#CUSTOM-VALUE}
```
public static final String CUSTOM_VALUE
```


String value for 'Custom' category

### FTP_VALUE {#FTP-VALUE}
```
public static final String FTP_VALUE
```


String value for 'Ftp' category

### HOME_PAGE_VALUE {#HOME-PAGE-VALUE}
```
public static final String HOME_PAGE_VALUE
```


String value for 'HomePage' category

### HOME_VALUE {#HOME-VALUE}
```
public static final String HOME_VALUE
```


String value for 'Home' category

### PROFILE_VALUE {#PROFILE-VALUE}
```
public static final String PROFILE_VALUE
```


String value for 'Profile' category

### WORK_VALUE {#WORK-VALUE}
```
public static final String WORK_VALUE
```


String value for 'Work' category

### equals(UrlCategory other) {#equals-com.aspose.email.UrlCategory-}
```
public boolean equals(UrlCategory other)
```


Determines whether the specified object is equal to the current object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [UrlCategory](../../com.aspose.email/urlcategory) | The object to compare with the current object. |

**Returns:**
boolean - true if the specified object is equal to the current object; otherwise, false.
### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


Determines whether the specified Object is equal to the current Object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | The Object to compare with the current Object. |

**Returns:**
boolean - Returns a boolean indicating if the passed in object obj is Equal to this.
### getBlog() {#getBlog--}
```
public static UrlCategory getBlog()
```


Blog URL

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCustom() {#getCustom--}
```
public static UrlCategory getCustom()
```


Custom page URL

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getDescription() {#getDescription--}
```
public final String getDescription()
```


Gets description for the 'Custom' category of a URL

**Returns:**
java.lang.String
### getFtp() {#getFtp--}
```
public static UrlCategory getFtp()
```


Ftp URL

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getHome() {#getHome--}
```
public static UrlCategory getHome()
```


Contact's home-related site.

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getHomePage() {#getHomePage--}
```
public static UrlCategory getHomePage()
```


Home page URL

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getProfile() {#getProfile--}
```
public static UrlCategory getProfile()
```


Profile URL

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### getValue() {#getValue--}
```
public final String getValue()
```


Gets category of a URL

**Returns:**
java.lang.String
### getWork() {#getWork--}
```
public static UrlCategory getWork()
```


Contact's work-related site.

**Returns:**
[UrlCategory](../../com.aspose.email/urlcategory)
### hashCode() {#hashCode--}
```
public int hashCode()
```


GetHashCode returns a hash function for this object.

**Returns:**
int - Returns a hash function for this object.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### op_Equality(UrlCategory a, UrlCategory b) {#op-Equality-com.aspose.email.UrlCategory-com.aspose.email.UrlCategory-}
```
public static boolean op_Equality(UrlCategory a, UrlCategory b)
```


Determines whether the specified objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [UrlCategory](../../com.aspose.email/urlcategory) | First object to compare |
| b | [UrlCategory](../../com.aspose.email/urlcategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are equal, otherwise false.
### op_Inequality(UrlCategory a, UrlCategory b) {#op-Inequality-com.aspose.email.UrlCategory-com.aspose.email.UrlCategory-}
```
public static boolean op_Inequality(UrlCategory a, UrlCategory b)
```


Determines whether the specified objects are not equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [UrlCategory](../../com.aspose.email/urlcategory) | First object to compare |
| b | [UrlCategory](../../com.aspose.email/urlcategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are not equal, otherwise false.
### toString() {#toString--}
```
public String toString()
```


Returns a string that represents the current object.

**Returns:**
java.lang.String - Returns a string that represents the current object.
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

