}
} catch (P4JavaException e) {
throw new IOException("Perforce execution failed: '" + e.getMessage() + "'", e);
}
ViewMap<ILabelMapping> viewMapping = new ViewMap<ILabelMapping>();
ClientView clientView = client.getClientView();
if (clientView != null) {
for (IClientViewMapping clientViewMapping : clientView) {
ILabelMapping mapping = new Label.LabelMapping();
mapping.setLeft(clientViewMapping.getDepotSpec());
mapping.setViewMapping(clientViewMapping.getDepotSpec());