public class UrlCategory extends Object
Represents category for a URL
Modifier and Type | Field and Description |
---|---|
static String |
BLOG_VALUE
String value for 'Blog' category
|
static String |
CUSTOM_VALUE
String value for 'Custom' category
|
static String |
FTP_VALUE
String value for 'Ftp' category
|
static String |
HOME_PAGE_VALUE
String value for 'HomePage' category
|
static String |
HOME_VALUE
String value for 'Home' category
|
static String |
PROFILE_VALUE
String value for 'Profile' category
|
static String |
WORK_VALUE
String value for 'Work' category
|
Constructor and Description |
---|
UrlCategory(String description)
Initializes a new instance of the
UrlCategory class with 'Custom' category. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
static UrlCategory |
getBlog()
Blog URL
|
static UrlCategory |
getCustom()
Custom page URL
|
String |
getDescription()
Gets description for the 'Custom' category of a URL
|
static UrlCategory |
getFtp()
Ftp URL
|
static UrlCategory |
getHome()
Contact's home-related site.
|
static UrlCategory |
getHomePage()
Home page URL
|
static UrlCategory |
getProfile()
Profile URL
|
String |
getValue()
Gets category of a URL
|
static UrlCategory |
getWork()
Contact's work-related site.
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
static boolean |
op_Equality(UrlCategory a,
UrlCategory b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(UrlCategory a,
UrlCategory b)
Determines whether the specified objects are not equal.
|
String |
toString()
Returns a string that represents the current object.
|
public static final String PROFILE_VALUE
String value for 'Profile' category
public static final String HOME_PAGE_VALUE
String value for 'HomePage' category
public static final String HOME_VALUE
String value for 'Home' category
public static final String WORK_VALUE
String value for 'Work' category
public static final String BLOG_VALUE
String value for 'Blog' category
public static final String FTP_VALUE
String value for 'Ftp' category
public static final String CUSTOM_VALUE
String value for 'Custom' category
public UrlCategory(String description)
Initializes a new instance of the UrlCategory
class with 'Custom' category.
description
- Description for the 'Custom' category of a URLpublic static UrlCategory getProfile()
Profile URL
UrlCategory
object.public static UrlCategory getHomePage()
Home page URL
UrlCategory
object.public static UrlCategory getHome()
Contact's home-related site.
UrlCategory
object.public static UrlCategory getWork()
Contact's work-related site.
UrlCategory
object.public static UrlCategory getBlog()
Blog URL
UrlCategory
object.public static UrlCategory getFtp()
Ftp URL
UrlCategory
object.public static UrlCategory getCustom()
Custom page URL
UrlCategory
object.public String getDescription()
Gets description for the 'Custom' category of a URL
String
object.public String toString()
Returns a string that represents the current object.
public int hashCode()
GetHashCode returns a hash function for this object.
public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
public static boolean op_Equality(UrlCategory a, UrlCategory b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(UrlCategory a, UrlCategory b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to compareCopyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.