Package | Description |
---|---|
org.sonar.api.resources |
Modifier and Type | Method and Description |
---|---|
static InputFile |
InputFileUtils.create(File basedir,
File file)
For internal and for testing purposes.
|
static InputFile |
InputFileUtils.create(File basedir,
String relativePath)
For internal and for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
static List<InputFile> |
InputFileUtils.create(File basedir,
Collection<File> files)
For internal and for testing purposes.
|
List<InputFile> |
ProjectFileSystem.mainFiles(String... langs)
Source files, excluding unit tests and files matching project exclusion patterns.
|
List<InputFile> |
DefaultProjectFileSystem.mainFiles(String... langs)
Deprecated.
|
List<InputFile> |
ProjectFileSystem.testFiles(String... langs)
Source files of unit tests.
|
List<InputFile> |
DefaultProjectFileSystem.testFiles(String... langs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
InputFileUtils.getRelativeDirectory(InputFile inputFile)
Extract the directory from relative path.
|
Modifier and Type | Method and Description |
---|---|
static List<File> |
InputFileUtils.toFiles(Collection<InputFile> inputFiles) |
static List<File> |
ProjectUtils.toIoFiles(Collection<InputFile> inputFiles) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.