com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class UrlList

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IList, Iterable


    public class UrlList
    extends Object
    implements com.aspose.ms.System.Collections.IList

    List of urls for contact

    • Constructor Summary

      Constructors 
      Constructor and Description
      UrlList() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int add(Object value)
      Adds an item to the list.
      void add(Url value)
      Adds an item to the list.
      int addItem(Object o)
      void clear()
      Removes all items from the list.
      boolean contains(Object value)
      Determines whether the list contains a specific value.
      boolean contains(Url value)
      Determines whether the list contains a specific value.
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.
      void copyTo(Url[] array, int index)
      Copies the elements to an array, starting at a particular array 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
      Object getSyncRoot()
      Gets an object that can be used to synchronize access to the T:System.Collections.ICollection.
      int indexOf(Object value)
      Determines the index of a specific item in the list.
      int indexOf(Url value)
      Determines the index of a specific item in the list.
      void insert(int index, Object value)
      Inserts an item to the list at the specified index.
      void insert(int index, Url value)
      Inserts an item to the list at the specified index.
      void insertItem(int i, Object o)
      boolean isFixedSize()
      Gets a value indicating whether the list has a fixed size.
      boolean isReadOnly()
      Gets a value indicating whether the list is read-only.
      boolean isSynchronized()
      Gets a value indicating whether access to the T:System.Collections.ICollection is synchronized (thread safe).
      com.aspose.ms.System.Collections.IEnumerator iterator()
      Returns an enumerator that iterates through a collection.
      void remove(Object value)
      Removes the first occurrence of a specific object from the list.
      void 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.
      void removeItem(Object o)
      void set_Item(int index, Object value)
      Gets or sets the element at the specified index.
      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 T:System.Collections.ICollection.
    • Constructor Detail

      • UrlList

        public UrlList()
    • Method Detail

      • getProfile

        public String getProfile()

        Default profile page

      • setProfile

        public void setProfile(String value)

        Default profile page

      • getHomePage

        public String getHomePage()

        Default home page

      • setHomePage

        public void setHomePage(String value)

        Default home page

      • getBusinessHomePage

        public String getBusinessHomePage()

        Default work page

      • setBusinessHomePage

        public void setBusinessHomePage(String value)

        Default work page

      • getFtp

        public String getFtp()

        Default ftp page

      • setFtp

        public void setFtp(String value)

        Default ftp page

      • getBlog

        public String getBlog()

        Default blog page

      • setBlog

        public void setBlog(String value)

        Default blog page

      • add

        public int add(Object value)

        Adds an item to the list.

        Parameters:
        value - The T:System.Object to add to the list.
        Returns:
        The position into which the new element was inserted.
      • add

        public void add(Url value)

        Adds an item to the list.

        Parameters:
        value - The object to add to the list.
      • insert

        public void insert(int index,
                  Object value)

        Inserts an item to the list at the specified index.

        Parameters:
        index - The zero-based index at which value should be inserted.
        value - The T:System.Object to insert into the list. <filterpriority>2</filterpriority>
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - index is not a valid index in the list.
        com.aspose.ms.System.NotSupportedException - The list is read-only.-or- The list has a fixed size.
        com.aspose.ms.System.NullReferenceException - value is null reference in the list.
      • insert

        public void insert(int index,
                  Url value)

        Inserts an item to the list at the specified index.

        Parameters:
        index - The zero-based index at which value should be inserted.
        value - The T:System.Object to insert into the list.
      • set_Item

        public void set_Item(int index,
                    Object value)

        Gets or sets the element at the specified index.

        Specified by:
        set_Item in interface com.aspose.ms.System.Collections.IList
        Parameters:
        index - The zero-based index of the element to get or set.
        value - The element at the specified index.
      • get_Item

        public Url get_Item(int index)

        Gets or sets the element at the specified index.

        Specified by:
        get_Item in interface com.aspose.ms.System.Collections.IList
        Parameters:
        index - The zero-based index of the element to get or set.
        Returns:
        The element at the specified index.
      • set_Item

        public void set_Item(int index,
                    Url value)

        Gets or sets the element at the specified index.

        Parameters:
        index - The zero-based index of the element to get or set.
        value - The element at the specified index.
      • contains

        public boolean contains(Object value)

        Determines whether the list contains a specific value.

        Specified by:
        contains in interface com.aspose.ms.System.Collections.IList
        Parameters:
        value - The T:System.Object to locate in the list.
        Returns:
        true if the T:System.Object is found in the list; otherwise, false.
      • contains

        public boolean contains(Url value)

        Determines whether the list contains a specific value.

        Parameters:
        value - The object to locate in the list.
        Returns:
        true if the object is found in the list; otherwise, false.
      • clear

        public void clear()

        Removes all items from the list.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.IList
      • indexOf

        public int indexOf(Object value)

        Determines the index of a specific item in the list.

        Specified by:
        indexOf in interface com.aspose.ms.System.Collections.IList
        Parameters:
        value - The T:System.Object to locate in the list.
        Returns:
        The index of value if found in the list; otherwise, -1.
      • indexOf

        public int indexOf(Url value)

        Determines the index of a specific item in the list.

        Parameters:
        value - The T:System.Object to locate in the list.
        Returns:
        The index of value if found in the list; otherwise, -1.
      • remove

        public void remove(Object value)

        Removes the first occurrence of a specific object from the list.

        Parameters:
        value - The T:System.Object to remove from the list.
      • remove

        public void remove(Url value)

        Removes the first occurrence of a specific object from the list.

        Parameters:
        value - The T:System.Object to remove from the list.
      • removeAt

        public void removeAt(int index)

        Removes the list item at the specified index.

        Specified by:
        removeAt in interface com.aspose.ms.System.Collections.IList
        Parameters:
        index - The zero-based index of the item to remove.
      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating whether the list is read-only.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.IList
        Returns:
        true if the list is read-only; otherwise, false.
      • isFixedSize

        public boolean isFixedSize()

        Gets a value indicating whether the list has a fixed size.

        Specified by:
        isFixedSize in interface com.aspose.ms.System.Collections.IList
        Returns:
        true if the list has a fixed size; otherwise, false.
      • copyTo

        public void copyTo(com.aspose.ms.System.Array array,
                  int index)

        Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection
        Parameters:
        array - The one-dimensional array that is the destination of the elements copied from T:System.Collections.ICollection. The array must have zero-based indexing.
        index - The zero-based index in array at which copying begins.
      • copyTo

        public void copyTo(Url[] array,
                  int index)

        Copies the elements to an array, starting at a particular array index.

        Parameters:
        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.
      • size

        public int size()

        Gets the number of elements contained in the T:System.Collections.ICollection.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        The number of elements contained in the T:System.Collections.ICollection.
      • getSyncRoot

        public Object getSyncRoot()

        Gets an object that can be used to synchronize access to the T:System.Collections.ICollection.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        An object that can be used to synchronize access to the T:System.Collections.ICollection.
      • isSynchronized

        public boolean isSynchronized()

        Gets a value indicating whether access to the T:System.Collections.ICollection is synchronized (thread safe).

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection
        Returns:
        true if access to the T:System.Collections.ICollection is synchronized (thread safe); otherwise, false.
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator iterator()

        Returns an enumerator that iterates through a collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable
        Specified by:
        iterator in interface Iterable
        Returns:
        An T:System.Collections.IEnumerator object that can be used to iterate through the collection.
      • addItem

        public int addItem(Object o)
        Specified by:
        addItem in interface com.aspose.ms.System.Collections.IList
      • removeItem

        public void removeItem(Object o)
        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.IList
      • insertItem

        public void insertItem(int i,
                      Object o)
        Specified by:
        insertItem in interface com.aspose.ms.System.Collections.IList