SAP NetWeaver '04

com.sapportals.wcm.util.uri
Class UriList

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.util.uri.UriList
All Implemented Interfaces:
IUriList

public class UriList
extends java.lang.Object
implements IUriList

An URL list implementation

Copyright (c) SAP AG 2001-2002


Fields inherited from interface com.sapportals.wcm.util.uri.IUriList
SEPARATOR
 
Constructor Summary
UriList()
           
UriList(java.lang.String uris)
          Creates a uri list from a string.
UriList(URI[] uris)
           
UriList(UriList list)
           
 
Method Summary
 void add(int index, URI uri)
           
 boolean add(URI uri)
           
 boolean addAll(IUriList list)
           
 boolean addAll(java.lang.String uris)
          Decodes uri list string and add them to the list.
 void addFirst(URI uri)
           
 void addLast(URI uri)
           
 URI get(int index)
           
 boolean isEmpty()
           
 IUriIterator listIterator()
           
 IUriIterator listIterator(int index)
           
 URI remove(int index)
           
 URI set(int index, URI uri)
           
 int size()
           
 java.lang.String toString()
          Encodes uri list as uri strings detached by a SEPARATOR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UriList

public UriList()

UriList

public UriList(java.lang.String uris)
Creates a uri list from a string. The string must be in an encoded format where each uri is detached by IUriList.SEPARATOR .
Parameters:
uris - Exp.: "\wcm\a;\wcm\b;..."

UriList

public UriList(URI[] uris)

UriList

public UriList(UriList list)
Method Detail

size

public int size()
Specified by:
size in interface IUriList

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface IUriList

add

public boolean add(URI uri)
Specified by:
add in interface IUriList

addAll

public boolean addAll(IUriList list)
Specified by:
addAll in interface IUriList

addAll

public boolean addAll(java.lang.String uris)
Description copied from interface: IUriList
Decodes uri list string and add them to the list. The string must have the format as described in method toString() .
Specified by:
addAll in interface IUriList
Following copied from interface: com.sapportals.wcm.util.uri.IUriList
Parameters:
uris - Exp.: "\wcm\a;\wcm\b;..."
Returns:
TBD: Description of the outgoing return value

get

public URI get(int index)
Specified by:
get in interface IUriList

set

public URI set(int index,
               URI uri)
Specified by:
set in interface IUriList

add

public void add(int index,
                URI uri)
Specified by:
add in interface IUriList

addLast

public void addLast(URI uri)
Specified by:
addLast in interface IUriList

addFirst

public void addFirst(URI uri)
Specified by:
addFirst in interface IUriList

remove

public URI remove(int index)
Specified by:
remove in interface IUriList

listIterator

public IUriIterator listIterator()
Specified by:
listIterator in interface IUriList

listIterator

public IUriIterator listIterator(int index)
Specified by:
listIterator in interface IUriList

toString

public java.lang.String toString()
Description copied from interface: IUriList
Encodes uri list as uri strings detached by a SEPARATOR. Example: "\wcm\a;\wcm\b;..."
Specified by:
toString in interface IUriList
Overrides:
toString in class java.lang.Object
Following copied from interface: com.sapportals.wcm.util.uri.IUriList
Returns:
TBD: Description of the outgoing return value

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.