public class DriveMappingList extends Object
Constructor and Description |
---|
DriveMappingList()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMapping(DriveMapping mapping)
Add a drive mapping to the list
|
DriveMapping |
findMapping(String localDrive)
Find the mapping for the specified local drive
|
DriveMapping |
getMappingAt(int idx)
Return the required drive mapping
|
int |
numberOfMappings()
Return the count of mappings in the list
|
void |
removeAllMappings()
Remove all mappings from the list
|
void |
removeMapping(int idx)
Remove a drive mapping from the list
|
public final void addMapping(DriveMapping mapping)
mapping
- DriveMappingpublic final int numberOfMappings()
public final DriveMapping getMappingAt(int idx)
idx
- intpublic final DriveMapping findMapping(String localDrive)
localDrive
- Stringpublic final void removeMapping(int idx)
idx
- intpublic final void removeAllMappings()
Copyright © 2005–2018 Alfresco Software. All rights reserved.