public class StreamInfoList extends Object
| Constructor and Description |
|---|
StreamInfoList()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStream(StreamInfo info)
Add an item to the list
|
StreamInfo |
findStream(String name)
Find a stream by name
|
StreamInfo |
getStreamAt(int idx)
Return the stream details at the specified index
|
int |
numberOfStreams()
Return the count of streams in the list
|
void |
removeAllStreams()
Remove all streams from the list
|
StreamInfo |
removeStream(int idx)
Remove the specified stream from the list
|
StreamInfo |
removeStream(String name)
Remove the specified stream from the list
|
public final void addStream(StreamInfo info)
info - StreamInfopublic final StreamInfo getStreamAt(int idx)
idx - intpublic final StreamInfo findStream(String name)
name - Stringpublic final int numberOfStreams()
public final StreamInfo removeStream(int idx)
idx - intpublic final StreamInfo removeStream(String name)
name - Stringpublic final void removeAllStreams()
Copyright © 2005–2014 Alfresco Software. All rights reserved.