public class SampleCodeReader extends Object
| Constructor and Description |
|---|
SampleCodeReader(String sampleDir)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
RetrievedCodeSample |
readSample(String serviceName,
String sampleId)
Retrieves a specified code sample.
|
public RetrievedCodeSample readSample(String serviceName, String sampleId) throws SampleRetrievalException
serviceName - service sample belongs tosampleId - unique id of sampleSampleRetrievalException - if sample cannot be retrieved due to an errorCopyright © 2016. All Rights Reserved.