public class MountEntryList extends Object
Contains a list of active mount entries.
Constructor and Description |
---|
MountEntryList()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addEntry(MountEntry entry)
Ad an entry to the list
|
MountEntry |
findEntry(String path,
String host)
Find an entry in the list
|
MountEntryList |
findSessionEntries(String host)
Find all items for the specified host and return as a new list
|
MountEntry |
getEntryAt(int idx)
Return the specified entry
|
int |
numberOfEntries()
Return the number of entries in the list
|
void |
removeAllItems()
Remote all entries from the list
|
MountEntry |
removeEntry(String path,
String host)
Remove an entry from the list
|
void |
removeHostEntries(String host)
Remove all entries from the list for the specified host
|
public final void addEntry(MountEntry entry)
entry
- MountEntrypublic final int numberOfEntries()
public final MountEntry getEntryAt(int idx)
idx
- intpublic final MountEntry findEntry(String path, String host)
path
- Stringhost
- Stringpublic final MountEntry removeEntry(String path, String host)
path
- Stringhost
- Stringpublic final void removeHostEntries(String host)
host
- Stringpublic final MountEntryList findSessionEntries(String host)
host
- Stringpublic final void removeAllItems()
Copyright © 2005–2017 Alfresco Software. All rights reserved.