public class SamplesParser extends Object
| Constructor and Description |
|---|
SamplesParser() |
| Modifier and Type | Method and Description |
|---|---|
static List<CodeSample> |
getSamples(File file)
Returns a list of samples parsed from a file.
|
static List<CodeSample> |
getSamples(File[] files,
String targetExtension)
Returns a list of samples parsed from input files.
|
public static List<CodeSample> getSamples(File[] files, String targetExtension) throws Exception
files - input filestargetExtension - extension of files to parseException - if an error occurs while getting samplespublic static List<CodeSample> getSamples(File file) throws Exception
file - input fileException - if an error occurs while getting samplesCopyright © 2016. All Rights Reserved.