public class UrlList extends Object implements com.aspose.ms.System.Collections.Generic.IGenericList<Url>
List of urls for contact
Constructor and Description |
---|
UrlList() |
Modifier and Type | Method and Description |
---|---|
void |
add(Url value)
Adds an item to the list.
|
void |
addItem(Url value) |
void |
clear()
Removes all items from the list.
|
boolean |
contains(Url value)
Determines whether the list contains a specific value.
|
boolean |
containsItem(Url value) |
void |
copyTo(Url[] array,
int index)
Copies the elements to an array, starting at a particular array index.
|
void |
copyToTArray(Url[] array,
int index) |
Url |
get_Item(int index)
Gets or sets the element at the specified index.
|
String |
getBlog()
Default blog page
|
String |
getBusinessHomePage()
Default work page
|
String |
getFtp()
Default ftp page
|
String |
getHomePage()
Default home page
|
String |
getProfile()
Default profile page
|
int |
indexOf(Url value)
Determines the index of a specific item in the list.
|
int |
indexOfItem(Url value) |
void |
insert(int index,
Url value)
Inserts an item to the list at the specified index.
|
void |
insertItem(int index,
Url value) |
boolean |
isReadOnly() |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Url> |
iterator()
Returns an enumerator that iterates through a collection.
|
boolean |
remove(Url value)
Removes the first occurrence of a specific object from the list.
|
void |
removeAt(int index)
Removes the list item at the specified index.
|
boolean |
removeItem(Url value) |
void |
set_Item(int index,
Url value)
Gets or sets the element at the specified index.
|
void |
setBlog(String value)
Default blog page
|
void |
setBusinessHomePage(String value)
Default work page
|
void |
setFtp(String value)
Default ftp page
|
void |
setHomePage(String value)
Default home page
|
void |
setProfile(String value)
Default profile page
|
int |
size()
Gets the number of elements contained in the
ICollection . |
public final String getProfile()
Default profile page
public final void setProfile(String value)
Default profile page
public final String getHomePage()
Default home page
public final void setHomePage(String value)
Default home page
public final String getBusinessHomePage()
Default work page
public final void setBusinessHomePage(String value)
Default work page
public final String getFtp()
Default ftp page
public final void setFtp(String value)
Default ftp page
public final String getBlog()
Default blog page
public final void setBlog(String value)
Default blog page
public final void add(Url value)
Adds an item to the list.
value
- The Object
to add to the list.public final void insert(int index, Url value)
Inserts an item to the list at the specified index.
index
- The zero-based index at which value
should be inserted.value
- The Object
to insert into the list.public final Url get_Item(int index)
Gets or sets the element at the specified index.
get_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<Url>
index
- The zero-based index of the element to get or set.public final void set_Item(int index, Url value)
Gets or sets the element at the specified index.
set_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<Url>
index
- The zero-based index of the element to get or set.public final boolean contains(Url value)
Determines whether the list contains a specific value.
value
- The object to locate in the list.public final void clear()
Removes all items from the list.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>
public final int indexOf(Url value)
Determines the index of a specific item in the list.
value
- The Object
to locate in the list.value
if found in the list; otherwise, -1.public final boolean remove(Url value)
Removes the first occurrence of a specific object from the list.
value
- The Object
to remove from the list.public final void removeAt(int index)
Removes the list item at the specified index.
removeAt
in interface com.aspose.ms.System.Collections.Generic.IGenericList<Url>
index
- The zero-based index of the item to remove.public final void copyTo(Url[] array, int index)
Copies the elements to an array, starting at a particular array index.
array
- The one-dimensional array that is the destination of the elements copied from collections.
The array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public final int size()
Gets the number of elements contained in the ICollection
.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>
ICollection
.public final boolean isReadOnly()
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Url> iterator()
Returns an enumerator that iterates through a collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Url>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Url>
iterator
in interface Iterable<Url>
public void addItem(Url value)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>
public boolean removeItem(Url value)
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>
public void insertItem(int index, Url value)
insertItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<Url>
public int indexOfItem(Url value)
indexOfItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<Url>
public boolean containsItem(Url value)
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Url>