| Package | Description | 
|---|---|
| com.ibm.watson.developer_cloud.util | 
 Utility classes to detect media types and convert files into input streams. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CredentialUtils.ServiceCredentials | 
CredentialUtils.getUserNameAndPassword(String serviceName)
Returns the username and password as defined in the VCAP_SERVICES or null if they do not exist or are not
 accessible. 
 | 
static CredentialUtils.ServiceCredentials | 
CredentialUtils.getUserNameAndPassword(String serviceName,
                      String plan)
Returns the username and password as defined in the VCAP_SERVICES or null if they do not exist or are not
 accessible. 
 | 
Copyright © 2015–2016 IBM Watson. All rights reserved.